Browse files

ENHANCEMENT: Make jQuery.Entwine inspector available in admin panels …

…in dev mode
  • Loading branch information...
1 parent 7b8e254 commit 7f05add15e1029e6902f2c9e2f9ff65a9686bb89 @hafriedlander hafriedlander committed May 14, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 admin/code/LeftAndMain.php
View
4 admin/code/LeftAndMain.php
@@ -291,6 +291,10 @@ function init() {
))
);
+ 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');

0 comments on commit 7f05add

Please sign in to comment.