[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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user