(loc == 'week' && date.getRealWeek() == this.date.getRealWeek()) ||
((loc == 'day' || loc == 'agenda') && date.dateString() == this.date.dateString()))) {
this.addHistory(fullloc);
+ this.loadNextView();
return;
}
var tasktype = locParts.shift() || this.tasktype;
if (this.view == loc && this.tasktype == tasktype) {
this.addHistory(fullloc);
+ this.loadNextView();
return;
}
if (!$w('all complete incomplete future').include(tasktype)) {
+ this.loadNextView();
return;
}
query = Object.toJSON({ title: term });
if (!($w('all past future').include(time))) {
+ this.loadNextView();
return;
}
case 'event':
// Load view first if necessary.
if (!this.view ) {
+ this.viewLoading.pop();
this.go(Kronolith.conf.login_view);
this.go.bind(this, fullloc, data).defer();
return;
case 'calendar':
if (!this.view) {
+ this.viewLoading.pop();
this.go(Kronolith.conf.login_view);
this.go.bind(this, fullloc, data).defer();
return;