mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #48 from open-sausages/webpack
Remove HTMLEditorField.js include
This commit is contained in:
commit
c4ba67c1fb
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user