summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-25 10:29:48 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-25 10:29:48 +0000
commitcde5f46fcab718a37fa5347c213a37f3691a28ae (patch)
treecad950360a077f169350fb1eda1f99a7e5c61d15 /roundcubemail
parent90e33642b8d46976a17220f97bf478cc6cfdff66 (diff)
- Unmark folder after unseen count has been changed to zero
git-svn-id: https://svn.roundcube.net/trunk@5488 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index d71415618..22ff4c98f 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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