mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-10 19:05:09 +00:00
(js) Reload lists when (en|dis)abling a calendar
Only the displayed list was refresh. Now we invalidate the hidden list.
This commit is contained in:
@@ -103,8 +103,10 @@
|
||||
_.each(_.keys(options), function(key) {
|
||||
// Query parameters common to events and tasks are compared
|
||||
dirty |= (_this.$query[key] && options[key] != Component.$query[key]);
|
||||
if (key == 'reload' && options[key])
|
||||
dirty = true;
|
||||
// Update either the common parameters or the type-specific parameters
|
||||
if (angular.isDefined(_this.$query[key]))
|
||||
else if (angular.isDefined(_this.$query[key]))
|
||||
_this.$query[key] = options[key];
|
||||
else
|
||||
_this[queryKey][key] = options[key];
|
||||
|
||||
Reference in New Issue
Block a user