calendar = cal.join('|');
this.startLoading(calendar, start, end);
this._storeCache($H(), calendar);
- this.doAction('ListEvents', { start: start, end: end, cal: calendar, view: view }, this._loadEventsCallback.bind(this));
+ this.doAction('ListEvents',
+ { start: start,
+ end: end,
+ cal: calendar,
+ view: view },
+ this._loadEventsCallback.bind(this));
}, this);
},
$('kronolithLoading').hide();
}
+ if (typeof r.response.sig == 'undefined') {
+ return;
+ }
+
var start = this.parseDate(r.response.sig.substr(0, 8)),
end = this.parseDate(r.response.sig.substr(8, 8)),
dates = [start, end];
this.startLoading('tasks:' + taskList, taskType, '');
this._storeTasksCache($H(), taskList);
- this.doAction('ListTasks', { 'taskType': taskType, 'list': taskList }, this._loadTasksCallback.bind(this));
+ this.doAction('ListTasks',
+ { 'taskType': taskType,
+ 'list': taskList },
+ this._loadTasksCallback.bind(this));
}, this);
},