Browse Source

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

pull/247/merge
Holger Brunn 8 years ago
committed by Jairo Llopis
parent
commit
79cd7dc7e3
  1. 2
      web_menu_navbar_needaction/static/src/js/web_menu_navbar_needaction.js

2
web_menu_navbar_needaction/static/src/js/web_menu_navbar_needaction.js

@ -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);
}

Loading…
Cancel
Save