mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix calendar favorites gets failed when encounters cat_ids in string format
This commit is contained in:
parent
ea30baf1a3
commit
12fbe113cf
@ -2838,6 +2838,8 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
{
|
||||
if(cat_id.join('') == '') cat_id = false;
|
||||
}
|
||||
// Make sure cat_id reaches to server in array format
|
||||
if (cat_id && typeof cat_id == 'string') cat_id = cat_id.split(',');
|
||||
|
||||
var query = jQuery.extend({}, {
|
||||
get_rows: 'calendar.calendar_uilist.get_rows',
|
||||
|
Loading…
Reference in New Issue
Block a user