diff options
author | NavaL <mnandri@thoughtworks.com> | 2015-12-22 18:58:57 +0100 |
---|---|---|
committer | NavaL <mnandri@thoughtworks.com> | 2015-12-22 19:05:10 +0100 |
commit | ec3a7f46f16c32bbaf22a14a92a890e1ab900e94 (patch) | |
tree | 4e900828ccbc1d7be63b73d5e6253acc40e901aa /web-ui/app/js/mail_view/ui/compose_box.js | |
parent | 4cb47c1848bb5d20b5ae167a7ab2879d00825f84 (diff) |
front-end for sending attachments
Issue #548
Diffstat (limited to 'web-ui/app/js/mail_view/ui/compose_box.js')
-rw-r--r-- | web-ui/app/js/mail_view/ui/compose_box.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/web-ui/app/js/mail_view/ui/compose_box.js b/web-ui/app/js/mail_view/ui/compose_box.js index dcc8fd76..48a7c23f 100644 --- a/web-ui/app/js/mail_view/ui/compose_box.js +++ b/web-ui/app/js/mail_view/ui/compose_box.js @@ -20,13 +20,14 @@ define( 'views/templates', 'mixins/with_mail_edit_base', 'page/events', - 'mail_view/data/mail_builder' + 'mail_view/data/mail_builder', + 'mail_view/data/attachment_list' ], - function (defineComponent, templates, withMailEditBase, events, mailBuilder) { + function (defineComponent, templates, withMailEditBase, events, mailBuilder, attachmentList) { 'use strict'; - return defineComponent(composeBox, withMailEditBase); + return defineComponent(composeBox, withMailEditBase, attachmentList); function composeBox() { @@ -49,6 +50,7 @@ define( .cc(this.attr.recipientValues.cc) .bcc(this.attr.recipientValues.bcc) .body(this.select('bodyBox').val()) + .attachment(this.attr.attachments) .tag(tag); }; |