From bc0491a544be9da876c2cccedaac19a182b8931b Mon Sep 17 00:00:00 2001 From: alec Date: Sat, 12 Apr 2008 12:31:10 +0000 Subject: - 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 --- roundcubemail/program/js/list.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roundcubemail/program') 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; -- cgit v1.2.3