summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_list.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-01-12 11:29:41 +0100
committerXavier Morel <xmo@openerp.com>2012-01-12 11:29:41 +0100
commitf4efb938e2abe2fa3300e64a9ec117c56b5afd59 (patch)
tree04e9ffc2bc0f4025650a4c47b90583235c302984 /addons/web/static/src/js/view_list.js
parent813a847aff836d98d706e2718a41232c66fbeebd (diff)
[FIX] forgot to forward arguments correctly in xmo@openerp.com-20120112084910-6fxbzbgmv51utyko
bzr revid: xmo@openerp.com-20120112102941-qa596ufk5nlc2nqp
Diffstat (limited to 'addons/web/static/src/js/view_list.js')
-rw-r--r--addons/web/static/src/js/view_list.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js
index e654b773605..4e6adbf99cb 100644
--- a/addons/web/static/src/js/view_list.js
+++ b/addons/web/static/src/js/view_list.js
@@ -924,7 +924,8 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
this.$current = this.$_element.clone(true);
this.$current.empty().append(
QWeb.render('ListView.rows', _.extend({
- render_cell: function () { return self.render_cell(); }
+ render_cell: function () {
+ return self.render_cell.apply(self, arguments); }
}, this)));
this.pad_table_to(5);
},
@@ -1040,7 +1041,8 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
record: record,
row_parity: (index % 2 === 0) ? 'even' : 'odd',
view: this.view,
- render_cell: function () { return this.render_cell(); }
+ render_cell: function () {
+ return this.render_cell.apply(this, arguments); }
});
},
/**