mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
* Calendar - avoid hanging in planner if event has an invalid category
This commit is contained in:
parent
21436f6b85
commit
2e9b486931
@ -752,11 +752,11 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(typeof rows[label_index] === 'undefined')
|
if(label_index && typeof rows[label_index] === 'undefined')
|
||||||
{
|
{
|
||||||
rows[label_index] = [];
|
rows[label_index] = [];
|
||||||
}
|
}
|
||||||
if(rows[label_index].indexOf(event) === -1)
|
if(label_index && rows[label_index].indexOf(event) === -1)
|
||||||
{
|
{
|
||||||
rows[label_index].push(event);
|
rows[label_index].push(event);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user