From 7dad859ffaf822a8243e739bd23a7259ab0c2de6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 21 Apr 2016 08:30:42 +0200 Subject: [PATCH] Fix message list multi-select/deselect issue (#5219) --- CHANGELOG | 1 + program/js/list.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index f717326443f..f4e8647c9a6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ CHANGELOG Roundcube Webmail =========================== - Enigma: Added enigma_debug option +- Fix message list multi-select/deselect issue (#5219) RELEASE 1.2-rc -------------- diff --git a/program/js/list.js b/program/js/list.js index cc9de0a6eb9..99fd48ff59c 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1108,7 +1108,7 @@ in_selection: function(id, index) { for (var n in this.selection) if (this.selection[n] == id) - return index ? n : true; + return index ? parseInt(n) : true; return false; },