diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-10-31 15:56:02 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-10-31 15:56:02 +0100 |
commit | adb5de4a888c01863b58cd50bd21ab2d4d17cace (patch) | |
tree | 6cd9db676eb5b18cf9e3be88e8cefeaea389c0da /apps/files | |
parent | c40515c33f80b8f5bf60c16bfc0d20dfddc80866 (diff) | |
download | nextcloud-server-adb5de4a888c01863b58cd50bd21ab2d4d17cace.tar.gz nextcloud-server-adb5de4a888c01863b58cd50bd21ab2d4d17cace.zip |
prefer closest over parent
closest will search up the tree
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 950dae2f925..0b10fa8c63a 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -487,7 +487,7 @@ var folderDropOptions={ return false; } - var target = $(this).parent('tr').data('file'); + var target = $(this).closest('tr').data('file'); var files = ui.helper.find('tr'); $(files).each(function(i,row) { |