forked from extern/egroupware
* Mail: Fix compose dialog goes under window's taskbar and attahcments are not visible
This commit is contained in:
parent
a6a104fba6
commit
e5996336e6
@ -435,7 +435,9 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
|||||||
*/
|
*/
|
||||||
availHeight: function()
|
availHeight: function()
|
||||||
{
|
{
|
||||||
return screen.availHeight < screen.height ? screen.availHeight : screen.height - 100;
|
return screen.availHeight < screen.height ?
|
||||||
|
(navigator.userAgent.match(/windows/ig)? screen.availHeight -100:screen.availHeight) // Seems chrome not counting taskbar in available height
|
||||||
|
: screen.height - 100;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user