mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
Fix handling of Web calendars
- handle Web calendars that require authentication; - properly save the "reload on login" option; - reload Web calendars when clicking on the reload button on top of the events/tasks list; - properly activate the checkbox of new calendars (as they are enabled by default). Fixes #3326
This commit is contained in:
@@ -77,10 +77,7 @@
|
||||
})
|
||||
.then(function(response) {
|
||||
return deferred.resolve(response.data);
|
||||
}, function(response) {
|
||||
if (response.status == 404)
|
||||
return deferred.reject();
|
||||
});
|
||||
}, deferred.reject);
|
||||
|
||||
return deferred.promise;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user