From b00bd0f27d1c066d04fc8124c3a35465a5933ab1 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 12 Apr 2008 08:45:56 -0400 Subject: [PATCH] - and another constraint for shift selection --- program/js/list.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/list.js b/program/js/list.js index 38c7433..e4d05e3 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -398,7 +398,7 @@ */ 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; -- Gitblit v1.9.1