summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 00e6c8e47..d962218d9 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1404,7 +1404,8 @@ function rcube_webmail()
this.enable_command('delete', 'moveto', 'copy', 'mark', (list.selection.length > 0 ? true : false));
// reset all-pages-selection
- this.select_all_mode = false;
+ if (selected || list.selection.length != list.rowcount)
+ this.select_all_mode = false;
// start timer for message preview (wait for double click)
if (selected && this.env.contentframe && !list.multi_selecting)