mirror of
https://github.com/silverstripe/silverstripe-widgets
synced 2024-10-22 15:05:54 +00:00
remove calls to behaviour & prototype which seem unnecessary
This commit is contained in:
parent
5dc74f7359
commit
95b1804b95
@ -21,10 +21,7 @@ class WidgetAreaEditor extends FormField {
|
|||||||
|
|
||||||
function FieldHolder($properties = array()) {
|
function FieldHolder($properties = array()) {
|
||||||
Requirements::css('widgets/css/WidgetAreaEditor.css');
|
Requirements::css('widgets/css/WidgetAreaEditor.css');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
|
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');
|
|
||||||
Requirements::javascript('widgets/javascript/WidgetAreaEditor.js');
|
Requirements::javascript('widgets/javascript/WidgetAreaEditor.js');
|
||||||
|
|
||||||
return $this->renderWith("WidgetAreaEditor");
|
return $this->renderWith("WidgetAreaEditor");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user