Skip to content
Snippets Groups Projects
Commit adb5de4a authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

prefer closest over parent

closest will search up the tree
parent c40515c3
No related branches found
No related tags found
No related merge requests found
...@@ -487,7 +487,7 @@ var folderDropOptions={ ...@@ -487,7 +487,7 @@ var folderDropOptions={
return false; return false;
} }
var target = $(this).parent('tr').data('file'); var target = $(this).closest('tr').data('file');
var files = ui.helper.find('tr'); var files = ui.helper.find('tr');
$(files).each(function(i,row) { $(files).each(function(i,row) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment