mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] we need to parse the parameter to an int
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user