From 1d297be10effab84c7e084bfc70651f99b10e91b Mon Sep 17 00:00:00 2001 From: alec Date: Sat, 12 Apr 2008 12:45:56 +0000 Subject: - and another constraint for shift selection git-svn-id: https://svn.roundcube.net/trunk@1290 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 38c74336c..e4d05e315 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -398,7 +398,7 @@ select_next: function() */ shift_select: function(id, control) { - if (!this.rows[this.shift_start]) + if (!this.rows[this.shift_start] || !this.selection.length) this.shift_start = id; var from_rowIndex = this.rows[this.shift_start].obj.rowIndex; -- cgit v1.2.3