MINOR Disable parent node search in CMSPageAddController

The search <input> field can't handle HTML returned by SiteTree.TreeTitle, see #7455 for proposed fix
This commit is contained in:
Ingo Schommer 2012-06-13 16:11:14 +02:00
parent eccfc1a664
commit 6581831396

View File

@ -64,7 +64,9 @@ class CMSPageAddController extends CMSPageEditController {
'Page'
)
);
$parentField->setShowSearch(true);
// TODO Re-enable search once it allows for HTML title display,
// see http://open.silverstripe.org/ticket/7455
// $parentField->setShowSearch(true);
$parentModeField->setValue($this->request->getVar('ParentID') ? 'child' : 'top');
$parentModeField->addExtraClass('parent-mode');