mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Check cat_id and join function are not undefined
This commit is contained in:
parent
2c5b1de5b5
commit
5a6ca10c0d
@ -2285,7 +2285,7 @@ app.classes.calendar = AppJS.extend(
|
|||||||
col_filter: {participant: (typeof state.owner == 'string' || typeof state.owner == 'number' ? [state.owner] : state.owner)},
|
col_filter: {participant: (typeof state.owner == 'string' || typeof state.owner == 'number' ? [state.owner] : state.owner)},
|
||||||
filter:'custom', // Must be custom to get start & end dates
|
filter:'custom', // Must be custom to get start & end dates
|
||||||
status_filter: state.filter,
|
status_filter: state.filter,
|
||||||
cat_id: state.cat_id && state.cat_id.join('') != '' ? state.cat_id : false,
|
cat_id: state.cat_id && typeof state.cat_id.join != "undefined" && state.cat_id.join('') != '' ? state.cat_id : false,
|
||||||
search: state.keywords,
|
search: state.keywords,
|
||||||
csv_export: false
|
csv_export: false
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user