From d63d8b4059f662a4fe2da2f8aa4151e759d16fc1 Mon Sep 17 00:00:00 2001 From: Glauco Vinicius Date: Wed, 8 Apr 2015 20:25:00 -0300 Subject: #363 [Luiz, Glauco] Trash Icon is not appearing for mails in Inbox anymore --- web-ui/app/js/mail_list/ui/mail_item_factory.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/mail_list/ui') diff --git a/web-ui/app/js/mail_list/ui/mail_item_factory.js b/web-ui/app/js/mail_list/ui/mail_item_factory.js index 87a883b0..3c815401 100644 --- a/web-ui/app/js/mail_list/ui/mail_item_factory.js +++ b/web-ui/app/js/mail_list/ui/mail_item_factory.js @@ -26,12 +26,14 @@ define( var MAIL_ITEM_TYPE = { 'drafts': DraftItem, - 'sent': SentItem + 'sent': SentItem, + 'trash': GenericMailItem }; var TEMPLATE_TYPE = { 'drafts': 'draft', - 'sent': 'sent' + 'sent': 'sent', + 'trash': 'trash' }; var createAndAttach = function (nodeToAttachTo, mail, currentMailIdent, currentTag, isChecked) { -- cgit v1.2.3