mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
instead of moving the window up a bit, when availHeight and height differ for screen, just reduce the window.height by that portion
This commit is contained in:
parent
5a5d252b0d
commit
8519e34ea5
@ -53,8 +53,13 @@ function initAll()
|
||||
if (fm_height >= 750) window.resizeBy(0,resizeHeight);
|
||||
}
|
||||
if (egw_getWindowOuterHeight()>screen.availHeight) window.resizeBy(0,screen.availHeight-egw_getWindowOuterHeight());
|
||||
if (window.outerHeight>1000) window.resizeBy(0,1000-window.outerHeight);
|
||||
if (screen.height>screen.availHeight) window.moveBy(0,screen.availHeight-screen.height);
|
||||
var sizeAdjusted = false;
|
||||
if (window.outerHeight>1000)
|
||||
{
|
||||
sizeAdjusted = true;
|
||||
window.resizeBy(0,1000-window.outerHeight);
|
||||
}
|
||||
if (screen.height>screen.availHeight && !sizeAdjusted) window.resizeBy(0,screen.availHeight-screen.height);
|
||||
//tab.init();
|
||||
//alert(document.onkeydown);
|
||||
var titletext = document.getElementById('fm_compose_subject').value;
|
||||
|
Loading…
Reference in New Issue
Block a user