diff --git a/jdots/js/egw_fw.js b/jdots/js/egw_fw.js index 0f2c46ffe1..bb4bf6f2e6 100644 --- a/jdots/js/egw_fw.js +++ b/jdots/js/egw_fw.js @@ -317,8 +317,9 @@ egw_fw.prototype.resizeHandler = function() egw_fw.prototype.getIFrameHeight = function() { - var height = $(window).height() - (this.tabsUi.contHeaderDiv.offsetTop + - this.tabsUi.contHeaderDiv.offsetHeight + 30); /* 30 is the height of the footer */ + var height = $(window).height() - ( + this.tabsUi.appHeaderContainer.offsetTop + + this.tabsUi.appHeaderContainer.offsetHeight + 30); /* 30 is the height of the footer */ return height; } @@ -789,6 +790,7 @@ egw_fw.prototype.refreshAppTitle = function() this.tabsUi.setAppHeader(this.activeApp.app_header); document.title = this.activeApp.website_title; } + this.resizeHandler(); } /**