diff --git a/framework/common/script/org/ofbiz/common/PortalPageServices.xml b/framework/common/script/org/ofbiz/common/PortalPageServices.xml
index 319aa927ac..f6ac5e9e2f 100644
--- a/framework/common/script/org/ofbiz/common/PortalPageServices.xml
+++ b/framework/common/script/org/ofbiz/common/PortalPageServices.xml
@@ -162,25 +162,31 @@ under the License.
-
+
-
-
-
+
+
+
+
+
+
-
+
-
-
-
-
+
+
+
+
+
+
+
-
+
diff --git a/framework/common/webcommon/portal/editPortalPage.ftl b/framework/common/webcommon/portal/editPortalPage.ftl
index 3c8056cf4b..6524b9bdb3 100644
--- a/framework/common/webcommon/portal/editPortalPage.ftl
+++ b/framework/common/webcommon/portal/editPortalPage.ftl
@@ -65,12 +65,12 @@ under the License.
#if>
- <#if portlet_has_next> <#-- TODO: this doesn't take into account that later items in the list might be in a different column -->
-
- #if>
<#if !firstInColumn>
#if>
+ <#if portlet_has_next>
+
+ #if>
<#if portalPageColumn_has_next>
#if>
@@ -80,7 +80,7 @@ under the License.
<#if !firstInColumn>
#if>
- <#if portlet_has_next> <#-- TODO: this doesn't take into account that later items in the list might be in a different column -->
+ <#if portlet_has_next>
#if>
<#if (portalPages.size() > 1)>