[FIX] calendar: don't block UI on slow /calendar/notify

Safe imp for a stable version. Better fix could be to send notifications
through the bus, but this would be in master.
This commit is contained in:
Aaron Bohy
2016-05-18 09:52:41 +02:00
parent 7f1d7c1cce
commit 252bd47f94
@@ -210,7 +210,7 @@ WebClient.include({
get_next_notif: function() {
var self = this;
this.rpc("/calendar/notify")
this.rpc("/calendar/notify", {}, {shadow: true})
.done(function(result) {
_.each(result, function(res) {
setTimeout(function() {