From 0ac268c7da05a181b2767d3d7000483088fb0ee4 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 8 Apr 2013 15:32:51 +0800 Subject: [PATCH] Minor: Should focus on newly open form. --- .../WEB-INF/src/org/adempiere/webui/desktop/TabbedDesktop.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/TabbedDesktop.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/TabbedDesktop.java index b8d7138769..3c3cecbf58 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/TabbedDesktop.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/TabbedDesktop.java @@ -94,6 +94,7 @@ public abstract class TabbedDesktop extends AbstractDesktop { form.setTitle(null); preOpenNewTab(); windowContainer.addWindow(tabPanel, form.getFormName(), true); + form.focus(); } else { form.setAttribute(Window.MODE_KEY, form.getWindowMode()); showWindow(form);