From eb521562cd6eee2d2a0ce15b8abb89505799bb98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Fri, 24 Oct 2014 09:20:59 +0200 Subject: [PATCH] [FIX] prevent a crash in ie9 (invalid setTimeout) (bus) The call to this.poll return undefined, and IE9 does not like undefined values in a timeout. --- addons/bus/static/src/js/bus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/bus/static/src/js/bus.js b/addons/bus/static/src/js/bus.js index 6ca515f815e..f85ccb86e0a 100644 --- a/addons/bus/static/src/js/bus.js +++ b/addons/bus/static/src/js/bus.js @@ -14,7 +14,7 @@ }, start_polling: function(){ if(!this.activated){ - setTimeout(this.poll(), 1); + this.poll(); this.stop = false; } },