From b00bd0f27d1c066d04fc8124c3a35465a5933ab1 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 12 Apr 2008 12:45:56 +0000 Subject: - and another constraint for shift selection --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/js/list.js b/program/js/list.js index 38c74336c..e4d05e315 100644 --- a/program/js/list.js +++ b/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