diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-11-07 14:10:10 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-11-07 14:10:10 +0100 |
commit | 168a2c7b6b005feb0820b682809066dc6ddaab5f (patch) | |
tree | 6eef3a2d95a55f88aab4332b6b6cba6af9d286fc | |
parent | 3e01fe1dbb9e8f1830b7071f4368f23be04a4578 (diff) | |
download | nextcloud-server-168a2c7b6b005feb0820b682809066dc6ddaab5f.tar.gz nextcloud-server-168a2c7b6b005feb0820b682809066dc6ddaab5f.zip |
get the right file name for drag&drop. This was necessary after the switch to css to show/hide file actions, otherwise the actions where part of the extracted file name.
-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 2d9ccba424a..70323352fb2 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -722,7 +722,7 @@ var folderDropOptions={ } var crumbDropOptions={ drop: function( event, ui ) { - var file=ui.draggable.text().trim(); + var file=ui.draggable.parent().data('file'); var target=$(this).data('dir'); var dir=$('#dir').val(); while(dir.substr(0,1)=='/'){//remove extra leading /'s |