mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Remove HTMLEditorField.js include
This should already be handled by the CMS bundle.
This commit is contained in:
parent
b2f3902996
commit
1e8d94afe1
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user