[END] This is the end of the world

bzr revid: fme@openerp.com-20130212133025-544phlyp83gdabu6
This commit is contained in:
Fabien Meghazi 2013-02-12 14:30:25 +01:00
parent ef7978efde
commit 47959a6889
1 changed files with 1 additions and 2 deletions

View File

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