From 47959a688994849055372cc025536376ac84c7ba Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Tue, 12 Feb 2013 14:30:25 +0100 Subject: [PATCH] [END] This is the end of the world bzr revid: fme@openerp.com-20130212133025-544phlyp83gdabu6 --- addons/web/static/src/js/views.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index ad6569b2076..2cbd966b6bb 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -229,8 +229,7 @@ instance.web.ActionManager = instance.web.Widget.extend({ // It means that if there's only one item, it will do parseInt() on it, // otherwise it will keep the comma seperated list as string. add_context.active_ids = state.active_ids.toString().split(',').map(function(id) { - var rid = parseInt(id, 10); - return rid || id; + return parseInt(id, 10) || id; }); } this.null_action();