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
Jairo Llopis 2017-05-30 16:39:52 +02:00 committed by Holger Brunn
parent 0df04ac252
commit 8c64013780
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)
{
if(parseInt(timeout))
if(parseInt(timeout, 10))
{
setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout);
}