From c83a9556e75c8f98cb94ff5f4c3656b773975f02 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 5 Feb 2014 15:33:03 +0100 Subject: Fix possible javascript error on drag-n-drop (#1489560) --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/list.js') 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); -- cgit v1.2.3