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