mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Deal with event sizing issue that caused 0 length events depending on what was rendered first
This commit is contained in:
parent
6f13a9caa9
commit
53916b71f6
@ -518,6 +518,12 @@ var et2_calendar_planner_row = (function(){ "use strict"; return et2_valueWidget
|
||||
var rows = this._spread_events();
|
||||
var height = rows.length * this._row_height;
|
||||
var row_width = this.rows.width();
|
||||
if(row_width == 0)
|
||||
{
|
||||
// Not rendered yet or something
|
||||
row_width = this.getParent().gridHeader.width() - this.title.width()
|
||||
}
|
||||
row_width -= 15;
|
||||
|
||||
for(var c = 0; c < rows.length; c++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user