projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8127a
)
[FIX] prevent a crash in ie9 (invalid setTimeout) (bus)
author
Géry Debongnie
<ged@odoo.com>
Fri, 24 Oct 2014 07:20:59 +0000
(09:20 +0200)
committer
Géry Debongnie
<ged@odoo.com>
Wed, 29 Oct 2014 07:38:18 +0000
(08:38 +0100)
The call to this.poll return undefined, and IE9 does not like undefined
values in a timeout.
addons/bus/static/src/js/bus.js
patch
|
blob
|
history
diff --git
a/addons/bus/static/src/js/bus.js
b/addons/bus/static/src/js/bus.js
index
6ca515f
..
f85ccb8
100644
(file)
--- 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;
}
},