summaryrefslogtreecommitdiff
path: root/web-ui/app/js/views/templates.js
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2016-01-25 16:25:26 -0200
committerGiovane <giovaneliberato@gmail.com>2016-01-25 16:25:26 -0200
commit685760ed085d3144511b4a56e2b23dadc6e62c1c (patch)
treed70848501d2780a42e63ef0302b5cc459339b242 /web-ui/app/js/views/templates.js
parent48eea2554803fa18f745d0e9234d950b3da5dbcf (diff)
Enable attachments on inline compose #579
- Extracts the attachents list template to a partial - Enable attachments on reply, reply all and forward
Diffstat (limited to 'web-ui/app/js/views/templates.js')
-rw-r--r--web-ui/app/js/views/templates.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/app/js/views/templates.js b/web-ui/app/js/views/templates.js
index e3b8d1f2..d0a1ccde 100644
--- a/web-ui/app/js/views/templates.js
+++ b/web-ui/app/js/views/templates.js
@@ -26,7 +26,8 @@ define(['hbs/templates'], function (templates) {
recipientInput: window.Pixelated['app/templates/compose/recipient_input.hbs'],
fixedRecipient: window.Pixelated['app/templates/compose/fixed_recipient.hbs'],
recipients: window.Pixelated['app/templates/compose/recipients.hbs'],
- feedback: window.Pixelated['app/templates/compose/feedback_box.hbs']
+ feedback: window.Pixelated['app/templates/compose/feedback_box.hbs'],
+ attachmentsList: window.Pixelated['app/templates/compose/attachments_list.hbs']
},
tags: {
tagList: window.Pixelated['app/templates/tags/tag_list.hbs'],
@@ -71,6 +72,7 @@ define(['hbs/templates'], function (templates) {
Handlebars.registerPartial('tag_inner', Templates.tags.tagInner);
Handlebars.registerPartial('recipients', Templates.compose.recipients);
+ Handlebars.registerPartial('attachments_list', Templates.compose.attachmentsList);
return Templates;
});