summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-04 20:28:01 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-04 20:28:01 +0000
commit083b33000fa063e11863e0b1f68e586adf4e1384 (patch)
treed16389e4933e5a657d30f9084b351f73e25cbd52 /roundcubemail/program/js
parent3b931f067e057d72ab715bca65975875223dab0e (diff)
Added new languages, hierarchical folder tree and attachments in forwarded messages
git-svn-id: https://svn.roundcube.net/trunk@20 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 87fd25572..30d870475 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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)