summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/forward_box.js
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-02-08 17:54:58 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-02-08 18:10:53 +0100
commit3c6b905d7e5b78e521b2e7692e5e32b7b0c226bc (patch)
treefd889e2aaa4fdd29c372b4d83fdc38453d2c1a2e /web-ui/app/js/mail_view/ui/forward_box.js
parentc16af6af2fa6798f5c3f9badfb445e87982e9dc3 (diff)
Revert "Issue #549 - Implemented remove attachment"
This reverts commit 9442be5c230e286073244451189ffc05ae6c8083.
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, 2 insertions, 3 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 5acef337..3d643b2f 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,8 +64,7 @@ define(
this.convertToRemovableAttachments = function(attachments) {
return attachments.map(function(attachment) {
- attachment.removable = false; // don't show this button until the bug is fixed
- attachment.received = true;
+ attachment.removable = true;
return attachment;
});
};