mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
FIX: Minor improvements
This commit is contained in:
parent
22811d36c3
commit
9b0cb9092f
@ -15,6 +15,7 @@ use Dynamic\FlexSlider\ORM\FlexSlider;
|
|||||||
use SilverStripe\Assets\Image;
|
use SilverStripe\Assets\Image;
|
||||||
use SilverStripe\Core\Injector\Injector;
|
use SilverStripe\Core\Injector\Injector;
|
||||||
use SilverStripe\Forms\CheckboxField;
|
use SilverStripe\Forms\CheckboxField;
|
||||||
|
use SilverStripe\Forms\GridField\GridField_ActionMenu;
|
||||||
use SilverStripe\Forms\LiteralField;
|
use SilverStripe\Forms\LiteralField;
|
||||||
use SilverStripe\Forms\NumericField;
|
use SilverStripe\Forms\NumericField;
|
||||||
use SilverStripe\Forms\ReadonlyField;
|
use SilverStripe\Forms\ReadonlyField;
|
||||||
@ -129,6 +130,7 @@ class SliderElement extends ElementSlideshow
|
|||||||
));
|
));
|
||||||
|
|
||||||
$config = $grid->getConfig();
|
$config = $grid->getConfig();
|
||||||
|
$config->removeComponentsByType(GridField_ActionMenu::class);
|
||||||
|
|
||||||
$bulk = new BulkUploader('Image', SlideImage::class, false);
|
$bulk = new BulkUploader('Image', SlideImage::class, false);
|
||||||
$bulk
|
$bulk
|
||||||
|
Loading…
Reference in New Issue
Block a user