summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-02-06 14:13:37 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-02-06 14:13:37 +0000
commitde1eeba7ad83d38dc5e801e3b0f9ceb2d936413a (patch)
tree63e8a0cb92316d424780d81d0ed1dceafadf36c3
parent5a5cb083cc1f37ff8c012bdc59cfb1179b9f2d30 (diff)
- Fix selecting all unread does not honor new messages (#1485724)
git-svn-id: https://svn.roundcube.net/trunk@2276 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/CHANGELOG4
-rw-r--r--roundcubemail/program/js/list.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index 9418d4821..7c5d9b72c 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/CHANGELOG
@@ -1,6 +1,10 @@
CHANGELOG RoundCube Webmail
---------------------------
+2009/02/06 (alec)
+----------
+- Fix selecting all unread does not honor new messages (#1485724)
+
2009/02/05 (alec)
----------
- Support NGINX as IMAP backend: better BAD response handling (#1485720)
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js
index be26ee96a..0fd4fdab6 100644
--- a/roundcubemail/program/js/list.js
+++ b/roundcubemail/program/js/list.js
@@ -510,7 +510,7 @@ select_all: function(filter)
for (var n in this.rows)
{
- if (!filter || this.rows[n][filter]==true)
+ if (!filter || (this.rows[n] && this.rows[n][filter] == true))
{
this.last_selected = n;
this.highlight_row(n, true);