* eMail: limit compose window height to 1000px

This commit is contained in:
Klaus Leithoff 2013-09-25 11:08:02 +00:00
parent 367651a8d1
commit f8e18810aa

View File

@ -53,6 +53,7 @@ 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);
//tab.init();
//alert(document.onkeydown);