summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_list
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-12-19 15:34:38 -0200
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-12-19 15:34:53 -0200
commit7f6613813a4238382fe177dad81287b026598545 (patch)
tree61f45bd3151a3d69a171ed804623c0c1f62411d7 /web-ui/app/js/mail_list
parent4cfb69848e0a65c6282bfdcbc76dd5008ed9adba (diff)
Don't clear selected mail when opening a tag
Diffstat (limited to 'web-ui/app/js/mail_list')
-rw-r--r--web-ui/app/js/mail_list/ui/mail_list.js14
1 files changed, 0 insertions, 14 deletions
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 () {