diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-10-31 14:31:57 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-10-31 14:31:57 +0100 |
commit | a4be1ebeb8e596a1f44eae546dbe872544a219f0 (patch) | |
tree | 9300cb81a45a7ace1ccd0855bf32e4a286b5d748 /apps | |
parent | ea4dfa7e389c93c052ca2e496f58904da8967de6 (diff) | |
download | nextcloud-server-a4be1ebeb8e596a1f44eae546dbe872544a219f0.tar.gz nextcloud-server-a4be1ebeb8e596a1f44eae546dbe872544a219f0.zip |
use data-file to retrieve filename
forward port of https://github.com/owncloud/core/pull/5647#discussion-diff-7341163
trust me, I know what I'm doing
Diffstat (limited to 'apps')
-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 389bf1bf197..950dae2f925 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -487,7 +487,7 @@ var folderDropOptions={ return false; } - var target = $.trim($(this).find('.nametext').text()); + var target = $(this).parent('tr').data('file'); var files = ui.helper.find('tr'); $(files).each(function(i,row) { |