summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-29 15:24:50 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-29 15:24:50 +0000
commit3c7c027dc9f358c3f778f2dc24516bc02935812d (patch)
treee511ab6265c2d5b25c059b811917499bdea72ab0
parent2f5a0a4b6daad4b30bca4973c4c5307c89c25de7 (diff)
Don't count myself
git-svn-id: https://svn.roundcube.net/trunk@1706 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 6b475ce35..d64b58c50 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1172,7 +1172,7 @@ function rcube_webmail()
this.set_env('collapsed_folders', this.env.collapsed_folders+'&'+escape(id)+'&');
// select parent folder if one of its childs is currently selected
- if (this.env.mailbox.indexOf(id) == 0)
+ if (this.env.mailbox.indexOf(id + this.env.delimiter) == 0)
this.command('list', id);
}
this.http_post('save-pref', '_name=collapsed_folders&_value='+escape(this.env.collapsed_folders));
@@ -3506,7 +3506,7 @@ function rcube_webmail()
{
// add children's counters
for (var k in this.env.unread_counts)
- if (k.indexOf(mbox) == 0) {
+ if (k.indexOf(mbox + this.env.delimiter) == 0) {
childcount += this.env.unread_counts[k];
}
}