mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
eccfc1a664
commit
6581831396
@ -64,7 +64,9 @@ class CMSPageAddController extends CMSPageEditController {
|
|||||||
'Page'
|
'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->setValue($this->request->getVar('ParentID') ? 'child' : 'top');
|
||||||
$parentModeField->addExtraClass('parent-mode');
|
$parentModeField->addExtraClass('parent-mode');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user