3
0
Fork 0

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

8.0
Holger Brunn 2017-04-28 15:07:21 +02:00 committed by Jairo Llopis
parent b03164db90
commit 79cd7dc7e3
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(timeout)
if(parseInt(timeout))
{
setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout);
}