mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #76 from sminnee/prevent-widget-error
BUGFIX: Prevent JS errors when widget area is loaded (note: doesn't actually fix it fully yet)
This commit is contained in:
commit
f2f45d62e7
@ -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