diff options
-rw-r--r-- | web-ui/app/js/mail_view/ui/attachment_list.js | 1 | ||||
-rw-r--r-- | web-ui/app/templates/compose/compose_box.hbs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/web-ui/app/js/mail_view/ui/attachment_list.js b/web-ui/app/js/mail_view/ui/attachment_list.js index 74a08d66..786fcb1e 100644 --- a/web-ui/app/js/mail_view/ui/attachment_list.js +++ b/web-ui/app/js/mail_view/ui/attachment_list.js @@ -70,7 +70,6 @@ define( }).bind('fileuploadstart', function (e) { self.trigger(document, events.mail.uploadingAttachment); }).bind('fileuploadadd', function (e) { - $('#attachment-list').show(); $('.attachmentsAreaWrap').show(); }); }; diff --git a/web-ui/app/templates/compose/compose_box.hbs b/web-ui/app/templates/compose/compose_box.hbs index fd8a034d..06cc099a 100644 --- a/web-ui/app/templates/compose/compose_box.hbs +++ b/web-ui/app/templates/compose/compose_box.hbs @@ -19,7 +19,7 @@ <textarea class="floatlabel" name="body" id="text-box" placeholder="{{t 'Body'}}" tabindex="5">{{body}}</textarea> </div> -<div id="attachment-list" class="buttons-group columns {{#unless attachments}}hide{{/unless}}"> +<div id="attachment-list" class="buttons-group columns"> <span class="btn btn-success fileinput-button"> <!-- The file input field used as target for the file upload widget --> <input id="fileupload" type="file" name="attachment"> |