mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removing legacy TODO reference for data-urlviewfile on MediaForm once metadata dep is removed.
This commit is contained in:
parent
abfc1d0a6c
commit
7e116aa908
@ -383,8 +383,6 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
$form->disableSecurityToken();
|
||||
$form->loadDataFrom($this);
|
||||
$form->addExtraClass('htmleditorfield-form htmleditorfield-mediaform cms-dialog-content');
|
||||
// TODO Re-enable once we remove $.metadata dependency which currently breaks the JS due to $.ui.widget
|
||||
// $form->setAttribute('data-urlViewfile', $this->controller->Link($this->name));
|
||||
|
||||
// Allow other people to extend the fields being added to the imageform
|
||||
$this->extend('updateMediaForm', $form);
|
||||
|
Loading…
x
Reference in New Issue
Block a user