From 52ea9280410f93efab4fe8db0c7c6b7d7a8b52b5 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 12 Nov 2012 15:34:31 +0100 Subject: [PATCH] [FIX] mail: suppress id on expandable message, for not mark message as read/unread when the message is not loaded bzr revid: chm@openerp.com-20121112143431-ybztdpcdacvfm293 --- addons/mail/static/src/js/mail.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 73123818bd7..52226c7bc75 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -397,7 +397,6 @@ openerp.mail = function (session) { this._super(parent, datasets, options); this.show_compact_message = false; this.show_delete_attachment = true; - console.log(this); }, start: function () { @@ -1385,7 +1384,6 @@ openerp.mail = function (session) { } else { // create a expandable message var expandable = new mail.ThreadExpandable(this, { - 'id': message.id, 'model': message.model, 'parent_id': message.parent_id, 'nb_messages': 1, @@ -1537,8 +1535,6 @@ openerp.mail = function (session) { }, this.node.params); this.domain = this.node.params && this.node.params.domain || []; - - console.log(this); }, start: function () {