mirror of https://github.com/OCA/web.git
Explicit radix
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt#Parameters, we should always specify the radix.pull/1028/head
parent
0df04ac252
commit
8c64013780
|
@ -36,7 +36,7 @@ openerp.web_menu_navbar_needaction = function(instance)
|
|||
},
|
||||
refresh_navbar_needaction: function(timeout)
|
||||
{
|
||||
if(parseInt(timeout))
|
||||
if(parseInt(timeout, 10))
|
||||
{
|
||||
setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue