#1002872 Support estimated landed costs. Fixed level 2 tab not auto refresh when moving from level 0 to level 1 tab using the grid edit icon. IDEMPIERE-1285
This commit is contained in:
parent
9b98e0f398
commit
dcfb83af13
|
@ -1181,7 +1181,18 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
{
|
||||
Object value = Executions.getCurrent().removeAttribute(CompositeADTabbox.AD_TABBOX_ON_EDIT_DETAIL_ATTRIBUTE);
|
||||
if (value != newTabpanel)
|
||||
{
|
||||
newTabpanel.query();
|
||||
}
|
||||
else
|
||||
{
|
||||
//detail pane of the new header tab might need refresh
|
||||
if (newTabpanel instanceof ADTabpanel)
|
||||
{
|
||||
ADTabpanel adtabpanel = (ADTabpanel) newTabpanel;
|
||||
Events.echoEvent(ADTabpanel.ON_POST_INIT_EVENT, adtabpanel, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue