summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-03-02 17:33:51 +0000
committerthomascube <thomas@roundcube.net>2010-03-02 17:33:51 +0000
commitc8cf268b9db55ca0a27f669a060eea320b2d5f9e (patch)
treecea88826b8ad28375def279297f11a1d3df4504d /program/js/app.js
parent55243b590c9baaea47c78ed99c8099ff091ebad7 (diff)
No more case-insensitive folder name comparisons
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index dee34b5a0..f03b0c5fb 100644
--- a/program/js/app.js
+++ b/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 {