From f55a7e5198bfcb8d85c60d86bdf37c18f08c40db Mon Sep 17 00:00:00 2001 From: Patrick Maia Date: Fri, 6 Feb 2015 19:22:25 +0000 Subject: Issue #274 - fixes bug on numeric tags removal --- web-ui/app/js/mail_view/ui/mail_view.js | 1 + 1 file changed, 1 insertion(+) (limited to 'web-ui/app/js/mail_view') 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); -- cgit v1.2.3