3
0
Fork 0

[FIX] we need to parse the parameter to an int

10.0
Holger Brunn 2017-04-28 15:07:21 +02:00
parent c75987972b
commit 0df04ac252
No known key found for this signature in database
GPG Key ID: 01C9760FECA3AE18
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ openerp.web_menu_navbar_needaction = function(instance)
}, },
refresh_navbar_needaction: function(timeout) refresh_navbar_needaction: function(timeout)
{ {
if(timeout) if(parseInt(timeout))
{ {
setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout); setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout);
} }