mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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()) {
|
// TODO Confuses jQuery.ondemand through document.write()
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery-entwine/src/jquery.entwine.inspector.js');
|
// 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(FRAMEWORK_ADMIN_DIR . '/thirdparty/jquery-notice/jquery.notice.css');
|
||||||
Requirements::css(THIRDPARTY_DIR . '/jquery-ui-themes/smoothness/jquery-ui.css');
|
Requirements::css(THIRDPARTY_DIR . '/jquery-ui-themes/smoothness/jquery-ui.css');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user