[FIX] forgot to remove a call to a removed method

bzr revid: fva@openerp.com-20121107135418-xa74vzqvqlgt3469
This commit is contained in:
Frédéric van der Essen
2012-11-07 14:54:18 +01:00
parent 47967fa1cc
commit 7bfc5c3fe4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -74,7 +74,7 @@
<t t-if="widget.filetype(attachment) !== 'webimage'">
<div class='oe_attachment'>
<a t-att-href='attachment.url'><img t-att-src="'/mail/static/src/img/mimetypes/' + widget.filetype(attachment) + '.png'"></img></a>
<div class='oe_delete oe_e'>[</div>
<div class='oe_delete oe_e' title="Delete this attachment" t-attf-data-id="{attachment.id}">[</div>
<div class='oe_name'><t t-raw='widget.breakword(attachment.name || attachment.filename)' /></div>
<div class='oe_progress_bar'>
uploading