hg merge 3e74fe09f8cf
This commit is contained in:
commit
1a7f975e8e
|
@ -308,8 +308,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
gridWindow = new GridWindow(gWindowVO, true);
|
gridWindow = new GridWindow(gWindowVO, true);
|
||||||
title = gridWindow.getName();
|
title = gridWindow.getName();
|
||||||
|
|
||||||
// Set SO/AutoNew for Window
|
// Set AutoNew for Window
|
||||||
Env.setContext(ctx, curWindowNo, "IsSOTrx", gridWindow.isSOTrx());
|
|
||||||
if (!autoNew && gridWindow.isTransaction())
|
if (!autoNew && gridWindow.isTransaction())
|
||||||
{
|
{
|
||||||
Env.setAutoNew(ctx, curWindowNo, true);
|
Env.setAutoNew(ctx, curWindowNo, true);
|
||||||
|
@ -359,6 +358,8 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
curTabIndex = 0;
|
curTabIndex = 0;
|
||||||
|
|
||||||
adTab.setSelectedIndex(0);
|
adTab.setSelectedIndex(0);
|
||||||
|
// all fields context for window is clear at AbstractADTab.prepareContext, set IsSOTrx for window
|
||||||
|
Env.setContext(ctx, curWindowNo, "IsSOTrx", gridWindow.isSOTrx());
|
||||||
toolbar.enableTabNavigation(adTab.getTabCount() > 1);
|
toolbar.enableTabNavigation(adTab.getTabCount() > 1);
|
||||||
toolbar.enableFind(true);
|
toolbar.enableFind(true);
|
||||||
adTab.evaluate(null);
|
adTab.evaluate(null);
|
||||||
|
|
Loading…
Reference in New Issue