IDEMPIERE-3814 Toolbar doesn't respect restriction when window is opened on a sub tab
This commit is contained in:
parent
e98698cd89
commit
5e0a824d04
|
@ -369,14 +369,14 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
toolbar.enableFind(true);
|
toolbar.enableFind(true);
|
||||||
adTabbox.evaluate(null);
|
adTabbox.evaluate(null);
|
||||||
|
|
||||||
|
toolbar.updateToolbarAccess(adWindowId);
|
||||||
|
updateToolbar();
|
||||||
|
|
||||||
if (detailQuery != null && zoomToDetailTab(detailQuery))
|
if (detailQuery != null && zoomToDetailTab(detailQuery))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
toolbar.updateToolbarAccess(adWindowId);
|
|
||||||
updateToolbar();
|
|
||||||
|
|
||||||
SessionManager.getAppDesktop().updateHelpContext(X_AD_CtxHelp.CTXTYPE_Tab, adTabbox.getSelectedGridTab().getAD_Tab_ID());
|
SessionManager.getAppDesktop().updateHelpContext(X_AD_CtxHelp.CTXTYPE_Tab, adTabbox.getSelectedGridTab().getAD_Tab_ID());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue