From ce102f2fc7ac43d0282ac73ca2254985ee5719c4 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 01 Mar 2008 13:53:37 -0500 Subject: [PATCH] Don't check for class name in folder list --- program/js/app.js | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 0715724..d1f0c93 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3287,11 +3287,8 @@ if (!this.gui_objects.mailboxlist) return false; - var reg, text_obj; - var item = this.get_folder_li(mbox); - mbox = String(mbox).toLowerCase().replace(this.identifier_expr, ''); - - if (item && item.className && item.className.indexOf('mailbox '+mbox)>=0) + var reg, text_obj, item; + if (item = this.get_folder_li(mbox)) { // set new text text_obj = item.firstChild; -- Gitblit v1.9.1