From 7bfc5c3fe4c1c7d88908d1b190ff29fbaed6b898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Wed, 7 Nov 2012 14:54:18 +0100 Subject: [PATCH] [FIX] forgot to remove a call to a removed method bzr revid: fva@openerp.com-20121107135418-xa74vzqvqlgt3469 --- addons/mail/static/src/js/mail.js | 2 +- addons/mail/static/src/xml/mail.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index fea400af339..45799959bcd 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -363,6 +363,7 @@ openerp.mail = function (session) { this.$(".oe_msg_attachment_list").html( session.web.qweb.render('mail.thread.message.attachments', {'widget': this}) ); // event: delete an attachment this.$(".oe_msg_attachment_list").on('click', '.oe_delete', this.on_attachment_delete); + console.log('display_attachments:',this.$('.oe_msg_attachment_list')); }, /* when a user click on the upload button, send file read on_attachment_loaded @@ -681,7 +682,6 @@ openerp.mail = function (session) { start: function () { this._super.apply(this, arguments); this.expender(); - this.resize_img(); this.bind_events(); if(this.thread_level < this.options.display_indented_thread) { this.create_thread(); diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 02c29a3f1c2..6805c3473c0 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -74,7 +74,7 @@
-
[
+
[
uploading