From c3805382aeaebc32fa403b238f0c4d6148e8d05b Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 1 Mar 2010 05:37:59 +0000 Subject: [PATCH] Prepare window context before entering a tab - Fixed invalid context for tab 0 Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2959339 --- .../src/org/adempiere/webui/component/AbstractADTab.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java index f7a65cc212..dc42ddc373 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java @@ -153,6 +153,10 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab } Collections.reverse(parents); } + else + { + parents.add(0); + } //clear context for (int i = 0; i < tabPanelList.size(); i++)