summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-11-09 09:41:35 +0100
committerChristophe Matthieu <chm@openerp.com>2012-11-09 09:41:35 +0100
commitbc0a84e0978facb882f03eb2cd25586c2c3b3e61 (patch)
tree1d5db666ef28613939fd29cf41a496fe6947730e /addons/mail/static/src
parent4ea0e6ea0e70ba043f0645b7866e8de1086b54c8 (diff)
parent0c1bcadd230ef2a46120f9b8a6584bdce3b56e89 (diff)
[MERGE] from trunk
bzr revid: chm@openerp.com-20121109084135-lor21hoxyh5rb6i4
Diffstat (limited to 'addons/mail/static/src')
-rw-r--r--addons/mail/static/src/js/mail.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js
index bae4f151a5e..bbdaeda2550 100644
--- a/addons/mail/static/src/js/mail.js
+++ b/addons/mail/static/src/js/mail.js
@@ -560,7 +560,7 @@ openerp.mail = function (session) {
this.context.default_parent_id,
attachments,
this.parent_thread.context
- ]).then(function (record) {
+ ]).done(function (record) {
var thread = self.parent_thread;
if (self.options.display_indented_thread < self.thread_level && thread.parent_message) {
@@ -1194,7 +1194,6 @@ openerp.mail = function (session) {
* @param {Array} ids read (if the are some ids, the method don't use the domain)
*/
message_fetch: function (replace_domain, replace_context, ids, callback) {
- console.log(arguments);
return this.ds_message.call('message_read', [
// ids force to read
ids == false ? undefined : ids,