diff --git a/code/FlexSlider.php b/code/FlexSlider.php index 7768993..a9df1ee 100644 --- a/code/FlexSlider.php +++ b/code/FlexSlider.php @@ -33,6 +33,10 @@ public function updateCMSFields(FieldList $fields) if (class_exists('GridFieldSortableRows')) { $config->addComponent(new GridFieldSortableRows('SortOrder')); } + if (class_exists('GridFieldBulkUpload')) { + $config->addComponent(new GridFieldBulkUpload()); + $config->addComponent(new GridFieldBulkManager()); + } $config->removeComponentsByType('GridFieldAddExistingAutocompleter'); $config->removeComponentsByType('GridFieldDeleteAction'); $config->addComponent(new GridFieldDeleteAction(false));