summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/js/mail_view/ui/mail_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web-ui/app/js/mail_view/ui/mail_view.js b/web-ui/app/js/mail_view/ui/mail_view.js
index 136b701c..e4e2174a 100644
--- a/web-ui/app/js/mail_view/ui/mail_view.js
+++ b/web-ui/app/js/mail_view/ui/mail_view.js
@@ -179,6 +179,7 @@ define(
};
this.removeTag = function (tag) {
+ tag = tag.toString();
var filteredTags = _.without(this.attr.mail.tags, tag);
this.updateTags(this.attr.mail, filteredTags);
this.trigger(document, events.dispatchers.tags.refreshTagList);