IDEMPIERE-1701 Apply same patch from hiep for SaveCreate, Delete, DeleteSelection and Process
This commit is contained in:
parent
fa857fd070
commit
fe51afaaa2
|
@ -1656,6 +1656,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
IADTabpanel headerTab = adTabbox.getSelectedTabpanel();
|
IADTabpanel headerTab = adTabbox.getSelectedTabpanel();
|
||||||
IADTabpanel detailTab = adTabbox.getSelectedDetailADTabpanel();
|
IADTabpanel detailTab = adTabbox.getSelectedDetailADTabpanel();
|
||||||
adTabbox.getSelectedGridTab().dataRefreshAll(fireEvent, true);
|
adTabbox.getSelectedGridTab().dataRefreshAll(fireEvent, true);
|
||||||
|
adTabbox.getSelectedGridTab().refreshParentTabs();
|
||||||
headerTab.dynamicDisplay(0);
|
headerTab.dynamicDisplay(0);
|
||||||
if (detailTab != null)
|
if (detailTab != null)
|
||||||
{
|
{
|
||||||
|
@ -2089,6 +2090,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
if(result)
|
if(result)
|
||||||
{
|
{
|
||||||
adTabbox.getSelectedGridTab().dataRefreshAll(true, true);
|
adTabbox.getSelectedGridTab().dataRefreshAll(true, true);
|
||||||
|
adTabbox.getSelectedGridTab().refreshParentTabs();
|
||||||
IADTabpanel dirtyTabpanel = (IADTabpanel) Executions.getCurrent().removeAttribute("adtabpane.saved");
|
IADTabpanel dirtyTabpanel = (IADTabpanel) Executions.getCurrent().removeAttribute("adtabpane.saved");
|
||||||
if (dirtyTabpanel != null && dirtyTabpanel.getGridTab().isDetail()) {
|
if (dirtyTabpanel != null && dirtyTabpanel.getGridTab().isDetail()) {
|
||||||
try {
|
try {
|
||||||
|
@ -2131,6 +2133,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
{
|
{
|
||||||
//error will be catch in the dataStatusChanged event
|
//error will be catch in the dataStatusChanged event
|
||||||
adTabbox.getSelectedGridTab().dataDelete();
|
adTabbox.getSelectedGridTab().dataDelete();
|
||||||
|
adTabbox.getSelectedGridTab().refreshParentTabs();
|
||||||
|
|
||||||
adTabbox.getSelectedTabpanel().dynamicDisplay(0);
|
adTabbox.getSelectedTabpanel().dynamicDisplay(0);
|
||||||
focusToActivePanel();
|
focusToActivePanel();
|
||||||
|
@ -2170,6 +2173,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
adTabbox.getSelectedGridTab().refreshParentTabs();
|
||||||
|
|
||||||
adTabbox.getSelectedTabpanel().dynamicDisplay(0);
|
adTabbox.getSelectedTabpanel().dynamicDisplay(0);
|
||||||
statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "Deleted")+": "+count, false);
|
statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "Deleted")+": "+count, false);
|
||||||
|
|
Loading…
Reference in New Issue