diff --git a/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy b/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy index f7672ce6ff..685e3d65e0 100644 --- a/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy +++ b/framework/common/webcommon/WEB-INF/actions/includes/GetParentPortalPageId.groovy @@ -50,6 +50,8 @@ if (userLogin && parameters.parentPortalPageId && !parameters.portalPageId) { context.parameters.parentPortalPageId = portalPage.orginalPortalPageId; } context.parameters.portalPageId = portalPage.portalPageId; //make sure we have a starting portalPageId - context.headerItem = portalPage.portalPageId; // and the menu item is highlighted + if (!context.headerItem) { + context.headerItem = portalPage.portalPageId; // and the menu item is highlighted + } } } diff --git a/framework/common/webcommon/portal/editPortalPage.ftl b/framework/common/webcommon/portal/editPortalPage.ftl index 5cb8bf31e5..3fb4cc93c2 100644 --- a/framework/common/webcommon/portal/editPortalPage.ftl +++ b/framework/common/webcommon/portal/editPortalPage.ftl @@ -58,7 +58,7 @@ under the License.