mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Prevent JS errors when widget area is loaded (note: doesn't actually fix it fully yet)
This commit is contained in:
parent
a39231f952
commit
42b7ab1930
@ -21,6 +21,8 @@ class WidgetAreaEditor extends FormField {
|
||||
|
||||
function FieldHolder() {
|
||||
Requirements::css(CMS_DIR . '/css/WidgetAreaEditor.css');
|
||||
Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');
|
||||
Requirements::javascript(CMS_DIR . '/javascript/WidgetAreaEditor.js');
|
||||
|
||||
return $this->renderWith("WidgetAreaEditor");
|
||||
|
Loading…
Reference in New Issue
Block a user