summaryrefslogtreecommitdiff
path: root/web-ui/app/js/views/templates.js
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-02-02 19:16:25 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-02-03 10:36:35 +0100
commit168e54a17a86c327f51eb5fad446d6e2f41d7711 (patch)
treecbd71260d9e86a7156d6fc08e3b336ee25272931 /web-ui/app/js/views/templates.js
parent6dae3002dc59d09eff07a7c0c6d22ca52d34f678 (diff)
Display progress bar when an upload is in progress
Displays a progress bar when an upload is in progress and prohibits uploading multiple attachments in parallel.
Diffstat (limited to 'web-ui/app/js/views/templates.js')
-rw-r--r--web-ui/app/js/views/templates.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web-ui/app/js/views/templates.js b/web-ui/app/js/views/templates.js
index e5a3c435..f9d944b8 100644
--- a/web-ui/app/js/views/templates.js
+++ b/web-ui/app/js/views/templates.js
@@ -75,6 +75,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);
+ Handlebars.registerPartial('attachments_upload', Templates.compose.attachmentsList);
Handlebars.registerPartial('attachment_item', Templates.compose.attachmentItem);
Handlebars.registerPartial('uploadAttachmentFailed', Templates.compose.uploadAttachmentFailed);