diff options
Diffstat (limited to 'web-ui/app')
-rw-r--r-- | web-ui/app/js/mixins/with_mail_tagging.js | 1 | ||||
-rw-r--r-- | web-ui/app/js/services/mail_service.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/mixins/with_mail_tagging.js b/web-ui/app/js/mixins/with_mail_tagging.js index c3647443..62ca7627 100644 --- a/web-ui/app/js/mixins/with_mail_tagging.js +++ b/web-ui/app/js/mixins/with_mail_tagging.js @@ -59,7 +59,6 @@ define( this.tagCompleter.clearPrefetchCache(); this.tagCompleter.clearRemoteCache(); this.updateTags(this.attr.mail, _.uniq(tagsCopy)); - this.trigger(document, events.dispatchers.tags.refreshTagList, { skipMailListRefresh: true }); }; this.after('displayMail', function () { diff --git a/web-ui/app/js/services/mail_service.js b/web-ui/app/js/services/mail_service.js index 1d5db40e..99f812f8 100644 --- a/web-ui/app/js/services/mail_service.js +++ b/web-ui/app/js/services/mail_service.js @@ -58,6 +58,7 @@ define( var success = function (data) { this.refreshMails(); $(document).trigger(events.mail.tags.updated, { ident: ident, tags: data.tags }); + $(document).trigger(events.dispatchers.tags.refreshTagList, { skipMailListRefresh: true }); }; var failure = function (resp) { |