From cc30063c8482596c0f370a248066a6a3fc64ad05 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 20 Nov 2013 18:20:09 +0800 Subject: [PATCH] 1003481 Context Help Broken for Import File Loader window when accessed via Zoom Across. --- .../WEB-INF/src/org/adempiere/webui/desktop/TabbedDesktop.java | 3 +++ 1 file changed, 3 insertions(+) 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 4a9c46cb29..c19d8a0628 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 @@ -27,6 +27,7 @@ import org.adempiere.webui.component.Tabpanel; import org.adempiere.webui.component.Window; import org.adempiere.webui.factory.InfoManager; import org.adempiere.webui.panel.ADForm; +import org.adempiere.webui.panel.IHelpContext; import org.adempiere.webui.panel.InfoPanel; import org.adempiere.webui.part.WindowContainer; import org.adempiere.webui.window.FDialog; @@ -293,6 +294,8 @@ public abstract class TabbedDesktop extends AbstractDesktop { windowContainer.insertAfter(windowContainer.getSelectedTab(), tabPanel, title, true, true); else windowContainer.addWindow(tabPanel, title, true); + if (window instanceof IHelpContext) + Events.sendEvent(new Event(WindowContainer.ON_WINDOW_CONTAINER_SELECTION_CHANGED_EVENT, window)); } /**