summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/forward_box.js
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2016-02-03 14:31:53 -0200
committerJefferson Stachelski <jstachel@thoughtworks.com>2016-02-04 23:54:15 -0200
commit9442be5c230e286073244451189ffc05ae6c8083 (patch)
treee1113019780b6a7fcde3f0c7dec2991fc02b7c73 /web-ui/app/js/mail_view/ui/forward_box.js
parent746069cb8fe957aa6206f4c57ec63704838546c1 (diff)
Issue #549 - Implemented remove attachment
Diffstat (limited to 'web-ui/app/js/mail_view/ui/forward_box.js')
-rw-r--r--web-ui/app/js/mail_view/ui/forward_box.js5
1 files changed, 3 insertions, 2 deletions
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;
});
};