Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Resources #2

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

Missing Resources #2

tazzydemon opened this issue May 21, 2012 · 1 comment

Comments

@tazzydemon
Copy link

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");
}
@chillu
Copy link
Member

chillu commented May 30, 2012

Same issue logged in http://open.silverstripe.org/ticket/7383?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants