diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-01-11 19:01:43 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-01-11 19:01:43 +0100 |
commit | 0b3b66ab127fb534a6941ce89739a7a53be8d9ad (patch) | |
tree | 9f58fef080692b2b7f2c5d08541f637cefd78dcf | |
parent | 38b71e78790f5ee80af8f65298f5408998f1769d (diff) |
Fix "Export selected" is inactive after contact delete (#1488906)
-rw-r--r-- | program/js/app.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/program/js/app.js b/program/js/app.js index b1714843b..686868697 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4227,12 +4227,10 @@ function rcube_webmail() target = win; this.show_contentframe(true); - // load dummy content - if (!cid) { - // unselect selected row(s) + // load dummy content, unselect selected row(s) + if (!cid) this.contact_list.clear_selection(); - this.enable_command('delete', 'compose', false); - } + this.enable_command('delete', 'compose', 'export-selected', cid); } else if (framed) return false; |