1003481 Context Help Broken for Import File Loader window when accessed via Zoom Across.

This commit is contained in:
Heng Sin Low 2013-11-20 18:20:09 +08:00
parent 439e3e453a
commit cc30063c84
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import org.adempiere.webui.component.Tabpanel;
import org.adempiere.webui.component.Window; import org.adempiere.webui.component.Window;
import org.adempiere.webui.factory.InfoManager; import org.adempiere.webui.factory.InfoManager;
import org.adempiere.webui.panel.ADForm; import org.adempiere.webui.panel.ADForm;
import org.adempiere.webui.panel.IHelpContext;
import org.adempiere.webui.panel.InfoPanel; import org.adempiere.webui.panel.InfoPanel;
import org.adempiere.webui.part.WindowContainer; import org.adempiere.webui.part.WindowContainer;
import org.adempiere.webui.window.FDialog; import org.adempiere.webui.window.FDialog;
@ -293,6 +294,8 @@ public abstract class TabbedDesktop extends AbstractDesktop {
windowContainer.insertAfter(windowContainer.getSelectedTab(), tabPanel, title, true, true); windowContainer.insertAfter(windowContainer.getSelectedTab(), tabPanel, title, true, true);
else else
windowContainer.addWindow(tabPanel, title, true); windowContainer.addWindow(tabPanel, title, true);
if (window instanceof IHelpContext)
Events.sendEvent(new Event(WindowContainer.ON_WINDOW_CONTAINER_SELECTION_CHANGED_EVENT, window));
} }
/** /**