thomascube
2006-02-19 181798f913b5e4c58b67f78801819638c960ab06
Bugfix for unread count in window title


1 files modified
4 ■■■■ changed files
program/js/app.js 4 ●●●● patch | view | raw | blame | history
program/js/app.js
@@ -2658,7 +2658,7 @@
    {
    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 @@
      }
    // 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;