mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-06-13 16:29:09 +02:00
BUG: Fix the action buttons not rendering on upload.
Due to escaping API changes, a HTMLText instance was being incorrectly casted to JSON.
This commit is contained in:
parent
0d9f011ea9
commit
f718b90b69
|
@ -154,7 +154,7 @@ class DMSUploadField extends UploadField {
|
|||
'thumbnail_url' => $document->Icon($document->getExtension()),
|
||||
'edit_url' => $this->getItemHandler($document->ID)->EditLink(),
|
||||
'size' => $document->getFileSizeFormatted(),
|
||||
'buttons' => $document->renderWith($this->getTemplateFileButtons()),
|
||||
'buttons' => (string) $document->renderWith($this->getTemplateFileButtons()),
|
||||
'showeditform' => true
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user