summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;