diff options
Diffstat (limited to 'web-ui')
-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, 2 insertions, 1 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 786fcb1e..74a08d66 100644 --- a/web-ui/app/js/mail_view/ui/attachment_list.js +++ b/web-ui/app/js/mail_view/ui/attachment_list.js @@ -70,6 +70,7 @@ 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 06cc099a..fd8a034d 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"> +<div id="attachment-list" class="buttons-group columns {{#unless attachments}}hide{{/unless}}"> <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"> |