<% end_if %>
diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_ViewControls.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_ViewControls.ss
index c9709e9a..410f885e 100644
--- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_ViewControls.ss
+++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_ViewControls.ss
@@ -1,6 +1,6 @@
<% if not $TreeIsFiltered %>
- <%-- Change to data-pjax-target="Content-PageList" to enable in-edit listview --%>
+ <%-- Change to data-pjax-target="Content-RecordList" to enable in-edit listview --%>
- <% with $AddForm %>
-
- <% end_with %>
-
diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss
index 956e7536..27a28e88 100644
--- a/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss
+++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss
@@ -2,9 +2,7 @@