[FIX] forgot to remove a call to a removed method
bzr revid: fva@openerp.com-20121107135418-xa74vzqvqlgt3469
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user