diff options
author | thomascube <thomas@roundcube.net> | 2005-10-04 20:28:01 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2005-10-04 20:28:01 +0000 |
commit | 597170feb25f5c2e5a90a9c0b1fd62001f169afb (patch) | |
tree | bd34ef48a6c0003dcfbc2047e290f00fdd22fd3a /program/js/app.js | |
parent | 6dc0269fcc9f11fbd53da1fb647237ab73cf394d (diff) |
Added new languages, hierarchical folder tree and attachments in forwarded messages
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js index 87fd25572..30d870475 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1985,9 +1985,11 @@ function rcube_webmail() 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) |