summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-25 10:29:48 +0000
committeralecpl <alec@alec.pl>2011-11-25 10:29:48 +0000
commitd0924d48d8bff16629de586e8d03924f5d34f96a (patch)
treee481012f137eeeef949b70b8559b40b2bb4dc91f /program/js
parent6ba7764555c2bed0a05d2bfa319474e4dc88f311 (diff)
- Unmark folder after unseen count has been changed to zero
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d71415618..22ff4c98f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5578,6 +5578,8 @@ function rcube_webmail()
if (mark)
this.mark_folder(mbox, mark, '', true);
+ else if (!count)
+ this.unmark_folder(mbox, 'recent', '', true);
};
// update the mailbox count display