From 7f6613813a4238382fe177dad81287b026598545 Mon Sep 17 00:00:00 2001 From: Alexandre Pretto Nunes Date: Fri, 19 Dec 2014 15:34:38 -0200 Subject: Don't clear selected mail when opening a tag --- web-ui/app/js/mail_list/ui/mail_list.js | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'web-ui/app/js/mail_list') diff --git a/web-ui/app/js/mail_list/ui/mail_list.js b/web-ui/app/js/mail_list/ui/mail_list.js index dc1402ed..da79f20b 100644 --- a/web-ui/app/js/mail_list/ui/mail_list.js +++ b/web-ui/app/js/mail_list/ui/mail_list.js @@ -112,22 +112,8 @@ define( this.updateSelected = function (ev, data) { if (data.ident !== this.attr.currentMailIdent) { - this.uncheckCurrentMail(); this.attr.currentMailIdent = data.ident; } - this.checkCurrentMail(); - }; - - this.checkCurrentMail = function () { - $('#mail-' + this.attr.currentMailIdent + ' input:checkbox') - .attr('checked', true) - .trigger('change'); - }; - - this.uncheckCurrentMail = function () { - $('#mail-' + this.attr.currentMailIdent + ' input:checkbox') - .attr('checked', false) - .trigger('change'); }; this.cleanSelected = function () { -- cgit v1.2.3