MINOR Disabled jQuery.entwine inspector in dev mode, as it causes side effects due to document.write() before other scripts are loaded

This commit is contained in:
Ingo Schommer 2012-06-06 11:49:32 +02:00
parent 91b6bd62b1
commit b3164eb2a9

View File

@ -291,9 +291,10 @@ class LeftAndMain extends Controller implements PermissionProvider {
))
);
if (Director::isDev()) {
Requirements::javascript(THIRDPARTY_DIR . '/jquery-entwine/src/jquery.entwine.inspector.js');
}
// TODO Confuses jQuery.ondemand through document.write()
// 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');