Skip to content
This repository
Browse code

MINOR Disable parent node search in CMSPageAddController

The search <input> field can't handle HTML returned by SiteTree.TreeTitle, see #7455 for proposed fix
  • Loading branch information...
commit 65818313968674570e53d7d87c31b69c61700144 1 parent eccfc1a
Ingo Schommer authored
4  code/controllers/CMSPageAddController.php
@@ -64,7 +64,9 @@ function AddForm() {
64 64
 				'Page'
65 65
 			)
66 66
 		);
67  
-		$parentField->setShowSearch(true);
  67
+		// TODO Re-enable search once it allows for HTML title display, 
  68
+		// see http://open.silverstripe.org/ticket/7455
  69
+		// $parentField->setShowSearch(true);
68 70
 		$parentModeField->setValue($this->request->getVar('ParentID') ? 'child' : 'top');
69 71
 		$parentModeField->addExtraClass('parent-mode');
70 72
 

0 notes on commit 6581831

Please sign in to comment.
Something went wrong with that request. Please try again.