From 0ca01a8a8e2cd9201f43fa840a30a0822215bfef Mon Sep 17 00:00:00 2001 From: NavaL Date: Tue, 5 Jan 2016 15:10:33 +0100 Subject: separated attachment list UI as a component and the corresponding attachment list payload as a mixin Issue #548 --- web-ui/app/js/mail_view/ui/compose_box.js | 7 ++++--- 1 file changed, 4 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 8e03c081..993cf880 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() { -- cgit v1.2.3