Merge pull request #48 from open-sausages/webpack

Remove HTMLEditorField.js include
This commit is contained in:
Loz Calver 2016-09-15 09:45:36 +01:00 committed by GitHub
commit c4ba67c1fb

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('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');
}