mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Modified GridField in 'HtmlEditorField_Toolbar' class to allow custom classes.
This commit is contained in:
parent
f3f0315cc1
commit
d766f9fd13
@ -317,7 +317,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
|||||||
new GridFieldDeleteAction(),
|
new GridFieldDeleteAction(),
|
||||||
new GridFieldDetailForm()
|
new GridFieldDetailForm()
|
||||||
);
|
);
|
||||||
$fileField = new GridField('Files', false, null, $fileFieldConfig);
|
$fileField = GridField::create('Files', false, null, $fileFieldConfig);
|
||||||
$fileField->setList($this->getFiles($parentID));
|
$fileField->setList($this->getFiles($parentID));
|
||||||
$fileField->setAttribute('data-selectable', true);
|
$fileField->setAttribute('data-selectable', true);
|
||||||
$fileField->setAttribute('data-multiselect', true);
|
$fileField->setAttribute('data-multiselect', true);
|
||||||
|
Loading…
Reference in New Issue
Block a user