diff --git a/Frameworks/Core/ERDirectToWeb/Sources/er/directtoweb/pages/ERD2WPage.java b/Frameworks/Core/ERDirectToWeb/Sources/er/directtoweb/pages/ERD2WPage.java index 0557537f40c..dea66a66bbf 100644 --- a/Frameworks/Core/ERDirectToWeb/Sources/er/directtoweb/pages/ERD2WPage.java +++ b/Frameworks/Core/ERDirectToWeb/Sources/er/directtoweb/pages/ERD2WPage.java @@ -953,7 +953,6 @@ public NSArray tabSectionsContents() { _tabSectionsContents = tabSectionsContentsFromRuleResult(tabSectionContentsFromRule); ERXStats.markEnd("D2W", statsKey); - d2wContext().takeValueForKey(tabSectionContentsFromRule, "tabSectionsContents"); // Once calculated we then determine any displayNameForTabKey String currentTabKey = (String) d2wContext().valueForKey(Keys.tabKey); for (Enumeration e = _tabSectionsContents.objectEnumerator(); e.hasMoreElements();) { @@ -977,6 +976,7 @@ public NSArray tabSectionsContents() { */ protected void clearTabSectionsContents() { _tabSectionsContents = null; + _currentTab = null; } /** Dummy denoting to sections. */