diff options
author | Gislene Pereira <gislene01@gmail.com> | 2016-01-26 16:42:29 -0300 |
---|---|---|
committer | Gislene Pereira <gislene01@gmail.com> | 2016-01-26 16:45:35 -0300 |
commit | 32dce59ce1aa32846948148fafaffb190206477e (patch) | |
tree | e94cf4c1fd0646cf14823717807cb16559f41c11 /web-ui/app/js/views/templates.js | |
parent | c3bb7b3249a789763bd307b14f5b60b7ac1c14aa (diff) |
Issue #550 - Alert user when attachment size exceeds 1MB limit.
Diffstat (limited to 'web-ui/app/js/views/templates.js')
-rw-r--r-- | web-ui/app/js/views/templates.js | 4 |
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 d0a1ccde..c799b052 100644 --- a/web-ui/app/js/views/templates.js +++ b/web-ui/app/js/views/templates.js @@ -27,7 +27,8 @@ define(['hbs/templates'], function (templates) { 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'], - attachmentsList: window.Pixelated['app/templates/compose/attachments_list.hbs'] + attachmentsList: window.Pixelated['app/templates/compose/attachments_list.hbs'], + uploadAttachmentFailed: window.Pixelated['app/templates/compose/upload_attachment_failed.hbs'] }, tags: { tagList: window.Pixelated['app/templates/tags/tag_list.hbs'], @@ -73,6 +74,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('uploadAttachmentFailed', Templates.compose.uploadAttachmentFailed); return Templates; }); |