Skip to content

Commit

Permalink
[FIX] we need to parse the parameter to an int
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Apr 28, 2017
1 parent 621298f commit 783892a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
}
Expand Down

0 comments on commit 783892a

Please sign in to comment.