summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/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 e05d9fb4b..d54b59d24 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -1345,7 +1345,7 @@ drag_mouse_move: function(e)
var uid = RegExp.$1, row = self.rows[uid];
- if ($.inArray(uid, selection) > -1)
+ if (!row || $.inArray(uid, selection) > -1)
return;
selection.push(uid);