summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-11-22 11:46:56 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-11-22 11:46:56 +0000
commit3453af093dd0d2eaf311e291f95974652614783f (patch)
tree664d587e4c4819994724f6cf0a6f8de404044c84 /roundcubemail/program
parent8e8daf41abb1fb9863e482d8f4eae48abe60ca6b (diff)
Fix a bug introduced with Shift-Del yesterday
git-svn-id: https://svn.roundcube.net/trunk@383 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 8157159fd..bc6563ec8 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1343,7 +1343,7 @@ function rcube_webmail()
// if there is a trash mailbox defined and we're not currently in it:
if (this.env.trash_mailbox && String(this.env.mailbox).toLowerCase()!=String(this.env.trash_mailbox).toLowerCase())
// if shift was pressed delete it immediately
- if (this.message_list.shiftkey)
+ if (this.message_list && this.message_list.shiftkey)
{
if (confirm(this.get_label('deletemessagesconfirm')))
this.permanently_remove_messages();