diff options
author | alecpl <alec@alec.pl> | 2011-12-07 07:50:00 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-07 07:50:00 +0000 |
commit | 3c5099f22b009ada55a967c10c6860927e003113 (patch) | |
tree | da759a80549cda1334ed9a3566fb13d3184c155e /program | |
parent | 1112978a8253c6bd3e547f20ff259625d45630fb (diff) |
- Applied fixes from trunk up to r5553
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 35806fce3..76ea145fe 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4065,7 +4065,7 @@ function rcube_webmail() this.delete_contacts = function() { var selection = this.contact_list.get_selection(), - undelete = this.env.address_sources[this.env.source].undelete; + undelete = this.env.source && this.env.address_sources[this.env.source].undelete; // exit if no mailbox specified or if selection is empty if (!(selection.length || this.env.cid) || (!undelete && !confirm(this.get_label('deletecontactconfirm')))) |