Now, the display code will have to be tweaked though, since this results
in a new section to be added for each subgroup. (Example, all birthdays
are grouped together under Contacts, then a second Contacts group is
added for all anniversaries...
}
$H(Kronolith.conf.calendars.external).each(function(cal) {
- api = cal.key.split('/');
+ var api = [];
+ api[0] = cal.key.substring(0, cal.key.lastIndexOf('/'));
+ api[1] = cal.key.substring(cal.key.lastIndexOf('/') + 1);
if (typeof ext[api[0]] == 'undefined') {
ext[api[0]] = {};
}