mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix getting wrong initial excess_height
This commit is contained in:
parent
9329db6edc
commit
607677d9e7
@ -127,8 +127,8 @@ etemplate2.prototype.resize = function(e)
|
||||
var appHeader = $j('#divAppboxHeader');
|
||||
|
||||
//Calculate the excess height
|
||||
excess_height = egw(window).is_popup()? $j(window).height() - $j('.et2_container').height() - appHeader.outerHeight()+10: false;
|
||||
|
||||
excess_height = egw(window).is_popup()? $j(window).height() - $j('.et2_container').height() - appHeader.outerHeight()+11: false;
|
||||
//if (excess_height > 2 || excess_height > -2)
|
||||
// Recalculate excess height if the appheader is shown
|
||||
if (appHeader.length > 0 && appHeader.is(':visible')) excess_height -= appHeader.outerHeight()-9;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user