Missing Resources #2

Closed
tazzydemon opened this Issue May 21, 2012 · 1 comment

Comments

Projects
None yet
3 participants

Please add WidgetAreaEditor.js and WidgetAreaEditor.css into the archive as from B2 they are missing from the cms along with widget support

Personally I think its a shame widgets are now modules.

Anyway this is now the relevant function in WidgetAreaEditor.php with the js and css moved:

function FieldHolder($properties = array()) {
    Requirements::css('silverstripe-widgets/css/WidgetAreaEditor.css');
    Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
    Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');
    Requirements::javascript('silverstripe-widgets/javascript/WidgetAreaEditor.js');

    return $this->renderWith("WidgetAreaEditor");
}
Owner

chillu commented May 30, 2012

@mparkhill mparkhill closed this Aug 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment