summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index c60f62f29..b5388b2d1 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1450,11 +1450,15 @@ function rcube_webmail()
// reset selection first
this.clear_selection();
- for (var n in this.list_rows) {
+ for (var n in this.list_rows)
+ {
if (!filter || this.list_rows[n][filter]==true)
+ {
this.last_selected = n;
this.highlight_row(n, true);
- }
+ }
+ }
+
return true;
};