Browse Source
[FIX] we need to parse the parameter to an int
pull/1028/head
Holger Brunn
8 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|