mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 03:11:48 +02:00
Fix refresh while calendar tab is hidden caused events to be minimum height
Second attempt
This commit is contained in:
parent
ad689951a2
commit
4b5bb644f7
@ -728,12 +728,11 @@ var et2_calendar_daycol = et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
columns[c][i].div.css('top', top+'%');
|
columns[c][i].div.css('top', top+'%');
|
||||||
columns[c][i].div.css('height', height+'%');
|
columns[c][i].div.css('height', height+'%');
|
||||||
// Remove spacing from border, but only if visible or the height will be wrong
|
// Remove spacing from border, but only if visible or the height will be wrong
|
||||||
var border_diff = 0;
|
|
||||||
if(columns[c][i].div.is(':visible'))
|
if(columns[c][i].div.is(':visible'))
|
||||||
{
|
{
|
||||||
border_diff = columns[c][i].div.outerHeight() - columns[c][i].div.height();
|
var border_diff = columns[c][i].div.outerHeight() - columns[c][i].div.height();
|
||||||
}
|
|
||||||
columns[c][i].div.css('height',columns[c][i].div.height() - border_diff);
|
columns[c][i].div.css('height',columns[c][i].div.height() - border_diff);
|
||||||
|
}
|
||||||
// This gives the wrong height
|
// This gives the wrong height
|
||||||
//columns[c][i].div.outerHeight(height+'%');
|
//columns[c][i].div.outerHeight(height+'%');
|
||||||
columns[c][i].div.css('left', left.toFixed(1)+'%');
|
columns[c][i].div.css('left', left.toFixed(1)+'%');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user