mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Load sub-categories immediately, or if they are not already cached they will be missing.
This commit is contained in:
parent
2a592fcb30
commit
a13f9cd3c9
@ -618,11 +618,13 @@ var et2_calendar_planner = et2_valueWidget.extend([et2_IDetachedDOM, et2_IResize
|
||||
break;
|
||||
}
|
||||
}
|
||||
// Get its children
|
||||
labels = labels.concat(et2_selectbox.cat_options({
|
||||
_type:'select-cat',
|
||||
getInstanceManager: function() {return im;}
|
||||
},{other:[,,,'calendar',cat_id[i]]}));
|
||||
|
||||
// Get its children immediately
|
||||
egw.json(
|
||||
this.getInstanceManager().app+'.etemplate_widget_menupopup.ajax_get_options.etemplate',
|
||||
['select-cat',',,,calendar,'+cat_id[i]],
|
||||
function(data) {labels = labels.concat(data);}
|
||||
).sendRequest(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user