summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-12 12:45:56 +0000
committeralecpl <alec@alec.pl>2008-04-12 12:45:56 +0000
commitb00bd0f27d1c066d04fc8124c3a35465a5933ab1 (patch)
tree5db6af194de5e9b471891533026f3171d9476ccb /program/js/list.js
parentf2892d7cfc32f3298b5dc12ab567b2e3a81da8ea (diff)
- and another constraint for shift selection
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
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;