summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js8
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;