forked from extern/egroupware
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Get its children
|
|
||||||
labels = labels.concat(et2_selectbox.cat_options({
|
// Get its children immediately
|
||||||
_type:'select-cat',
|
egw.json(
|
||||||
getInstanceManager: function() {return im;}
|
this.getInstanceManager().app+'.etemplate_widget_menupopup.ajax_get_options.etemplate',
|
||||||
},{other:[,,,'calendar',cat_id[i]]}));
|
['select-cat',',,,calendar,'+cat_id[i]],
|
||||||
|
function(data) {labels = labels.concat(data);}
|
||||||
|
).sendRequest(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user