Explicit radix

According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt#Parameters, we should always specify the radix.
This commit is contained in:
Jairo Llopis
2017-05-30 16:39:52 +02:00
parent 79cd7dc7e3
commit 848d1ef493

View File

@@ -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);
}