Remove HTMLEditorField.js include

This should already be handled by the CMS bundle.
This commit is contained in:
Ingo Schommer 2016-09-15 15:25:14 +12:00
parent b2f3902996
commit 1e8d94afe1

View File

@ -65,8 +65,6 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider
HTMLEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css'); HTMLEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css');
HTMLEditorConfig::get('cms')->setOption('Lang', i18n::get_tinymce_lang()); HTMLEditorConfig::get('cms')->setOption('Lang', i18n::get_tinymce_lang());
// Always block the HtmlEditorField.js otherwise it will be sent with an ajax request
Requirements::block(FRAMEWORK_DIR . '/javascript/HtmlEditorField.js');
Requirements::javascript(REPORTS_DIR . '/javascript/ReportAdmin.js'); Requirements::javascript(REPORTS_DIR . '/javascript/ReportAdmin.js');
} }