backbort of A.Stoeckels fix for mainscreen resizing (r31306)

This commit is contained in:
Klaus Leithoff 2010-07-07 07:38:17 +00:00
parent f89eed6c9e
commit 0597a5014c
2 changed files with 4 additions and 4 deletions

View File

@ -165,11 +165,11 @@ fm_startTimerMessageListUpdate(refreshTimeOut);
if the iframe stays maximized. */
if (window.parent && typeof window.parent.framework != 'undefined')
{
var height = $(window).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 70;
var height = $(document).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 70;
}
else
{
var height = $(window).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 90;
var height = $(document).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 90;
}
/* Tableheight specifies the rendered size of the table,

View File

@ -170,11 +170,11 @@ fm_startTimerMessageListUpdate(refreshTimeOut);
if the iframe stays maximized. */
if (window.parent && typeof window.parent.framework != 'undefined') /* jdots template, does not apply here, as it is using default templates */
{
var height = $(window).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 85;
var height = $(document).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 85;
}
else
{
var height = $(window).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 112;
var height = $(document).height() - felamimail_iframe_height - $(divMessageTableList).offset().top - 112;
}
/* Tableheight specifies the rendered size of the table,