mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4567 from SilbinaryWolf/modify-htmleditor-toolbar
Modified GridField in 'HtmlEditorField_Toolbar' class to allow GridField custom class
This commit is contained in:
commit
17f3afa0e9
@ -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