From bf97c68ba4ec2f61a0d630a1dbe3a717bce7ff26 Mon Sep 17 00:00:00 2001 From: Renata Carreira Date: Wed, 8 Apr 2015 19:28:02 -0300 Subject: Unchecking all emails when changing inbox Triggering events.ui.mails.uncheckAll when calling events.ui.tag.select refers to #289 with @mindyor :) --- web-ui/app/js/tags/ui/tag_list.js | 1 + 1 file changed, 1 insertion(+) (limited to 'web-ui/app/js/tags/ui/tag_list.js') diff --git a/web-ui/app/js/tags/ui/tag_list.js b/web-ui/app/js/tags/ui/tag_list.js index a2172c6d..d6f6f76c 100644 --- a/web-ui/app/js/tags/ui/tag_list.js +++ b/web-ui/app/js/tags/ui/tag_list.js @@ -98,6 +98,7 @@ define( this.after('initialize', function() { this.on(document, events.tags.received, this.displayTags); this.on(document, events.ui.tag.select, this.updateCurrentTag); + this.on(document, events.ui.tag.select, events.ui.mails.uncheckAll); this.renderTagListTemplate(); }); } -- cgit v1.2.3