From 252bd47f94afbaa75c2ce55967c80952b80eaa42 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Thu, 12 May 2016 15:51:46 +0200 Subject: [PATCH] [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. --- addons/calendar/static/src/js/base_calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/calendar/static/src/js/base_calendar.js b/addons/calendar/static/src/js/base_calendar.js index 7e92f23f181..4f9b43ddc70 100644 --- a/addons/calendar/static/src/js/base_calendar.js +++ b/addons/calendar/static/src/js/base_calendar.js @@ -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() {