summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-12 12:31:10 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-12 12:31:10 +0000
commitbc0491a544be9da876c2cccedaac19a182b8931b (patch)
treecb883cf3e9d98187fdd2e5f6684716883c30789c
parentae4a5e2c96e619bc077e8d5368a5f64939795890 (diff)
- fix for shift key use without shift_start on the list
git-svn-id: https://svn.roundcube.net/trunk@1289 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/list.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js
index eceb1a9ec..38c74336c 100644
--- a/roundcubemail/program/js/list.js
+++ b/roundcubemail/program/js/list.js
@@ -398,6 +398,9 @@ select_next: function()
*/
shift_select: function(id, control)
{
+ if (!this.rows[this.shift_start])
+ this.shift_start = id;
+
var from_rowIndex = this.rows[this.shift_start].obj.rowIndex;
var to_rowIndex = this.rows[id].obj.rowIndex;