From 5a0425986800bf03de8c49dc00f45d86d3b365ee Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Thu, 16 Oct 2014 14:59:49 +0200 Subject: for #95, make sure that the tag list is also refreshed when the mail list is refreshed, since there can be new unread mails and we need to update the count --- web-ui/app/js/tags/ui/tag_list.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web-ui/app/js/tags/ui') diff --git a/web-ui/app/js/tags/ui/tag_list.js b/web-ui/app/js/tags/ui/tag_list.js index b5b4d555..850a5fab 100644 --- a/web-ui/app/js/tags/ui/tag_list.js +++ b/web-ui/app/js/tags/ui/tag_list.js @@ -92,10 +92,9 @@ define( }.bind(this)); }; - this.loadTagList = function(ev, data) { this.renderTagList(_.sortBy(data.tags, tagOrder)); - this.trigger(document, events.ui.tags.loaded, { tag: this.attr.currentTag }); + this.trigger(document, events.ui.tags.loaded, { tag: this.attr.currentTag, skipMailListRefresh: data.skipMailListRefresh}); }; this.saveTag = function(ev, data) { -- cgit v1.2.3