summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/forward_box.js
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-02-12 14:53:41 -0200
committerNavaL <ayoyo@thoughtworks.com>2016-02-12 14:53:41 -0200
commit077e4100160ba58ee2abf91c0572ca1c0962277e (patch)
tree336ba2bc1484d423f5f807247f13482915c91140 /web-ui/app/js/mail_view/ui/forward_box.js
parent78925e0332bbc41ed37e27d506be192abdb7124e (diff)
Revert "Revert "Issue #549 - Implemented remove attachment""
This reverts commit 3c6b905d7e5b78e521b2e7692e5e32b7b0c226bc.
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;
});
};