mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX: Don't cut off document.body overflow in CTF popups in the admin, when on test mode. (from r88958)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96790 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2cf10e76fe
commit
7ac2203319
@ -213,8 +213,12 @@ window.onresize = function(init) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
appendLoader(function() {
|
appendLoader(function() {
|
||||||
|
// Only execute this code if it's actually called from the LeftAndMain interface
|
||||||
|
// JSMin/concatenation can get this file included in strange places
|
||||||
|
if(document.getElementById('left') && document.getElementById('right')) {
|
||||||
document.body.style.overflow = 'hidden';
|
document.body.style.overflow = 'hidden';
|
||||||
window.onresize(true);
|
window.onresize(true);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function isVisible(el) {
|
function isVisible(el) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user