* Stylite Template: Issue regarding horizontal scrollbar (Bug#8279)

This commit is contained in:
Klaus Leithoff 2010-11-24 10:20:28 +00:00
parent 9beec2ed4f
commit 2b6e7871ae

View File

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