* Remove 'save parent first' feature that doesn't work as expected
* Detail tab don't retrieve all when parent is empty or new
This commit is contained in:
parent
565422ab49
commit
3a5a379385
|
@ -1044,6 +1044,7 @@ public final class APanel extends CPanel
|
||||||
{
|
{
|
||||||
MRole role = MRole.getDefault();
|
MRole role = MRole.getDefault();
|
||||||
m_curGC.query (m_onlyCurrentRows, m_onlyCurrentDays, role.getMaxQueryRecords());
|
m_curGC.query (m_onlyCurrentRows, m_onlyCurrentDays, role.getMaxQueryRecords());
|
||||||
|
/*
|
||||||
if (m_curGC.isNeedToSaveParent())
|
if (m_curGC.isNeedToSaveParent())
|
||||||
{
|
{
|
||||||
// there is a problem, so we go back
|
// there is a problem, so we go back
|
||||||
|
@ -1051,7 +1052,7 @@ public final class APanel extends CPanel
|
||||||
m_curWinTab.setSelectedIndex(previousIndex);
|
m_curWinTab.setSelectedIndex(previousIndex);
|
||||||
setBusy(false, true);
|
setBusy(false, true);
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
// Set initial record
|
// Set initial record
|
||||||
if (m_curTab.getRowCount() == 0)
|
if (m_curTab.getRowCount() == 0)
|
||||||
|
|
|
@ -603,10 +603,11 @@ public class GridController extends CPanel
|
||||||
vTable.autoSize(true);
|
vTable.autoSize(true);
|
||||||
} // query
|
} // query
|
||||||
|
|
||||||
|
/*
|
||||||
public boolean isNeedToSaveParent()
|
public boolean isNeedToSaveParent()
|
||||||
{
|
{
|
||||||
return m_mTab.isNeedToSaveParent();
|
return m_mTab.isNeedToSaveParent();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Switch from single to multi & vice versa
|
* Switch from single to multi & vice versa
|
||||||
|
|
Loading…
Reference in New Issue