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