mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
91b6bd62b1
commit
b3164eb2a9
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user