thomascube
2005-10-04 597170feb25f5c2e5a90a9c0b1fd62001f169afb
program/js/app.js
@@ -4,7 +4,7 @@
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2005, RoundCube Dev, - Switzerland                      |
 | All rights reserved.                                                  |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | Modified: 2005/08/19 (tbr)                                            |
 |                                                                       |
@@ -1985,9 +1985,11 @@
      var item, reg, text_obj;
      var s_mbox = String(mbox).toLowerCase().replace(this.mbox_expression, '');
      var s_current = this.env.mailbox.toLowerCase().replace(this.mbox_expression, '');
      for (var n=0; n<this.gui_objects.mailboxlist.childNodes.length; n++)
      var nodes = this.gui_objects.mailboxlist.getElementsByTagName('LI');
      for (var n=0; n<nodes.length; n++)
        {
        item = this.gui_objects.mailboxlist.childNodes[n];
        item = nodes[n];
        if (item.className && item.className.indexOf('mailbox '+s_mbox+' ')>=0)
          this.set_classname(item, 'selected', true);
        else if (item.className && item.className.indexOf('mailbox '+s_current)>=0)