mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +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
|
// Cache
|
||||||
if(categories) this.categories = categories;
|
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
|
// Need cat_, classes can't start with a number
|
||||||
var cat_id = cats[i];
|
var cat_id = cats[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user