diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-02-19 18:30:38 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-02-19 18:30:38 +0000 |
| commit | c0fb702e8477f465d0f4c2765e127e5dae66f3ef (patch) | |
| tree | 8de776c86272f382ec6d2791cd0f02564eba9592 /roundcubemail/program | |
| parent | 43c4e2903c44afbe2a3eb5b30bac28805db99683 (diff) | |
Bugfix for unread count in window title
git-svn-id: https://svn.roundcube.net/trunk@138 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 4e9a8bfff..715bad0fd 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -2658,7 +2658,7 @@ function rcube_webmail() { if (!this.gui_objects.mailboxlist) return false; - + var item, reg, text_obj; mbox = String(mbox).toLowerCase().replace(this.mbox_expression, ''); item = document.getElementById('rcmbx'+mbox); @@ -2681,7 +2681,7 @@ function rcube_webmail() } // set unread count to window title - if (set_title && document.title) + if ((set_title || mbox==this.env.mailbox) && document.title) { var doc_title = String(document.title); reg = /^\([0-9]+\)\s+/i; |
