(js) Don't load item in multi-selection mode

Also review the toolbars of the Calendar module.
This commit is contained in:
Francis Lachapelle
2015-09-09 15:18:00 -04:00
parent 295b53df66
commit 16d312eb98
5 changed files with 235 additions and 215 deletions
@@ -101,7 +101,7 @@
count = (_.filter(Component.$events, function(event) { return event.selected; })).length;
}
if (Component.$tasks) {
count = (_.filter(Component.$tasks, function(event) { return event.selected; })).length;
count = (_.filter(Component.$tasks, function(task) { return task.selected; })).length;
}
return count;
};