ENHANCEMENT: Make jQuery.Entwine inspector available in admin panels in dev mode

This commit is contained in:
Hamish Friedlander 2012-05-14 16:00:42 +12:00
parent 7b8e25467e
commit 7f05add15e

View File

@ -291,6 +291,10 @@ class LeftAndMain extends Controller implements PermissionProvider {
))
);
if (Director::isDev()) {
Requirements::javascript(THIRDPARTY_DIR . '/jquery-entwine/src/jquery.entwine.inspector.js');
}
Requirements::css(FRAMEWORK_ADMIN_DIR . '/thirdparty/jquery-notice/jquery.notice.css');
Requirements::css(THIRDPARTY_DIR . '/jquery-ui-themes/smoothness/jquery-ui.css');
Requirements::css(FRAMEWORK_ADMIN_DIR .'/thirdparty/chosen/chosen/chosen.css');