[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
This commit is contained in:
Christophe Matthieu
2012-11-12 15:34:31 +01:00
parent 85bd9fb3c5
commit 52ea928041
-4
View File
@@ -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 () {