diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-02-05 15:33:03 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-02-05 15:33:56 +0100 |
commit | e445e0acb558b2c4805cef3ed13c84139962a5b3 (patch) | |
tree | e0c4e4e8971637169b700af392e1c200d6c7ebce /program/js | |
parent | 92eb72dafce42791e5dc0443d615602e5ea78878 (diff) |
Fix possible javascript error on drag-n-drop (#1489560)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/list.js | 2 |
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); |