IDEMPIERE-725 Implement #UIClient context variable

This commit is contained in:
Heng Sin Low 2013-04-26 15:44:56 +08:00
parent 1da7f8b59f
commit 5fad644ecc
2 changed files with 4 additions and 0 deletions

View File

@ -206,6 +206,8 @@ public final class AMenu extends CFrame
treePanel.expandTree(true);
// Auto Expand Tree - nmicoud IDEMPIERE 195
Env.setContext(Env.getCtx(), "#UIClient", "swing");
//
Env.addEventListener(this);
//

View File

@ -353,6 +353,8 @@ public class AdempiereWebUI extends Window implements EventListener<Event>, IWeb
BrowserToken.remove();
}
Env.setContext(ctx, "#UIClient", "zk");
Clients.response(new AuScript("zAu.cmd0.clearBusy()"));
}