mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT: Make jQuery.Entwine inspector available in admin panels in dev mode
This commit is contained in:
parent
7b8e25467e
commit
7f05add15e
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user