mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
backbort of A.Stoeckels fix for mainscreen resizing (r31306)
This commit is contained in:
parent
f89eed6c9e
commit
0597a5014c
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user