summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-12 12:31:10 +0000
committeralecpl <alec@alec.pl>2008-04-12 12:31:10 +0000
commitf2892d7cfc32f3298b5dc12ab567b2e3a81da8ea (patch)
treef0bdda6f953cb2c2fd2e5fb39aa01df39b296ee0 /program
parent768a24f27de441c08de9df1692a2621490b8a076 (diff)
- fix for shift key use without shift_start on the list
Diffstat (limited to 'program')
-rw-r--r--program/js/list.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js
index eceb1a9ec..38c74336c 100644
--- a/program/js/list.js
+++ b/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;