mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Merge pull request #132 from robbieaverill/pulls/2.0/remove-autocompleter-for-document-sets
FIX Remove add existing autocompleter for document sets on a page
This commit is contained in:
commit
84abd5d837
@ -24,6 +24,8 @@ class DMSSiteTreeExtension extends DataExtension
|
|||||||
);
|
);
|
||||||
$gridField->addExtraClass('documentsets');
|
$gridField->addExtraClass('documentsets');
|
||||||
|
|
||||||
|
$gridField->getConfig()->removeComponentsByType('GridFieldAddExistingAutocompleter');
|
||||||
|
|
||||||
$fields->addFieldToTab(
|
$fields->addFieldToTab(
|
||||||
'Root.Document Sets (' . $this->owner->DocumentSets()->count() . ')',
|
'Root.Document Sets (' . $this->owner->DocumentSets()->count() . ')',
|
||||||
$gridField
|
$gridField
|
||||||
|
Loading…
Reference in New Issue
Block a user