* Mail: Fix compose dialog goes under window's taskbar and attahcments are not visible

This commit is contained in:
Hadi Nategh 2015-12-18 13:14:09 +00:00
parent a6a104fba6
commit e5996336e6

View File

@ -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;
}, },
/** /**