From ec3a7f46f16c32bbaf22a14a92a890e1ab900e94 Mon Sep 17 00:00:00 2001 From: NavaL Date: Tue, 22 Dec 2015 18:58:57 +0100 Subject: front-end for sending attachments Issue #548 --- web-ui/app/js/mail_view/ui/compose_box.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'web-ui/app/js/mail_view/ui/compose_box.js') 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); }; -- cgit v1.2.3