[FIX] correctly forward arguments in _super() call of editable listview's form widgets override

bzr revid: xmo@openerp.com-20120613094037-3iny9dsdhmp7qspi
This commit is contained in:
Xavier Morel 2012-06-13 11:40:37 +02:00
parent 0240ab1682
commit 632a4dee0c
1 changed files with 2 additions and 2 deletions

View File

@ -402,12 +402,12 @@ openerp.web.list_editable = function (openerp) {
if (this.modifiers.tree_invisible) {
var old_invisible = this.invisible;
this.invisible = true;
this._super();
this._super.apply(this, arguments);
this.invisible = old_invisible;
} else if (this.invisible) {
this.$element.children().css('visibility', 'hidden');
} else {
this._super();
this._super.apply(this, arguments);
}
}
});