mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Avoid error if categories were not provided, just skip styling
This commit is contained in:
parent
6688723a77
commit
1e379a7b8d
@ -483,7 +483,7 @@ var et2_nextmatch_rowProvider = Class.extend(
|
||||
// Cache
|
||||
if(categories) this.categories = categories;
|
||||
}
|
||||
for(var i = 0; i < cats.length; i++)
|
||||
for(var i = 0; i < cats.length && this.categories; i++)
|
||||
{
|
||||
// Need cat_, classes can't start with a number
|
||||
var cat_id = cats[i];
|
||||
|
Loading…
Reference in New Issue
Block a user