[FIX] Wall: fixed error dur to small change in mail.thread API

bzr revid: tde@openerp.com-20120402130031-j8oep0eoaw1lnd1t
This commit is contained in:
Thibault Delavallée
2012-04-02 15:00:31 +02:00
parent 1800d249df
commit a2e5f0b6c1
+1 -1
View File
@@ -652,7 +652,7 @@ openerp.mail = function(session) {
if (additional_context) var fetch_context = _.extend(this.params.search['context'], additional_context);
else var fetch_context = this.params.search['context'];
var load_res = this.ds_thread.call('get_pushed_messages',
[[this.session.uid], (limit || 0), (offset || 0), fetch_domain, true, [false], fetch_context]).then(function (records) {
[[this.session.uid], (limit || 0), (offset || 0), [], fetch_domain, true, [], fetch_context]).then(function (records) {
self.do_update_show_more(records.length >= self.params.limit);
self.display_comments(records);
});