Removing legacy TODO reference for data-urlviewfile on MediaForm once metadata dep is removed.

This commit is contained in:
Ben Manu 2016-02-19 14:33:20 +13:00
parent abfc1d0a6c
commit 7e116aa908

View File

@ -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);