From 9442be5c230e286073244451189ffc05ae6c8083 Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Wed, 3 Feb 2016 14:31:53 -0200 Subject: Issue #549 - Implemented remove attachment --- web-ui/app/js/mail_view/ui/forward_box.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/mail_view/ui/forward_box.js') diff --git a/web-ui/app/js/mail_view/ui/forward_box.js b/web-ui/app/js/mail_view/ui/forward_box.js index 3d643b2f..5acef337 100644 --- a/web-ui/app/js/mail_view/ui/forward_box.js +++ b/web-ui/app/js/mail_view/ui/forward_box.js @@ -56,7 +56,7 @@ define( self.trigger(document, events.mail.removeAttachment, {ident: ident}); event.preventDefault(); }); - + this.on(this.select('subjectDisplay'), 'click', this.showSubjectInput); this.select('recipientsDisplay').hide(); this.select('recipientsFields').show(); @@ -64,7 +64,8 @@ define( this.convertToRemovableAttachments = function(attachments) { return attachments.map(function(attachment) { - attachment.removable = true; + attachment.removable = false; // don't show this button until the bug is fixed + attachment.received = true; return attachment; }); }; -- cgit v1.2.3