From bf978ceb2ad1dcd8a5a42ed37893dcf59e646098 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 2 Mar 2010 17:33:51 +0000 Subject: No more case-insensitive folder name comparisons git-svn-id: https://svn.roundcube.net/trunk@3304 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/js/app.js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index dee34b5a0..f03b0c5fb 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1885,7 +1885,7 @@ function rcube_webmail() if (this.env.flag_for_deletion) this.mark_message('delete'); // if there isn't a defined trash mailbox or we are in it - else if (!this.env.trash_mailbox || String(this.env.mailbox).toLowerCase() == String(this.env.trash_mailbox).toLowerCase()) + else if (!this.env.trash_mailbox || this.env.mailbox == this.env.trash_mailbox) this.permanently_remove_messages(); // if there is a trash mailbox defined and we're not currently in it else { -- cgit v1.2.3