forked from Techsystech/web
[FIX] we need to parse the parameter to an int
parent
c75987972b
commit
0df04ac252
|
@ -36,7 +36,7 @@ openerp.web_menu_navbar_needaction = function(instance)
|
||||||
},
|
},
|
||||||
refresh_navbar_needaction: function(timeout)
|
refresh_navbar_needaction: function(timeout)
|
||||||
{
|
{
|
||||||
if(timeout)
|
if(parseInt(timeout))
|
||||||
{
|
{
|
||||||
setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout);
|
setTimeout(this.proxy(this.refresh_navbar_needaction), timeout, timeout);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue