summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-10-31 11:15:12 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-10-31 11:15:12 +0100
commit02d7b04b2e676f074ecc94424dcb50a71939c468 (patch)
treeb97ef9546efa38f9e5c3a8f8ce9e768cb62c2cd3
parent1a3ab036c0c4d30bc06c8a56746d3034f926913a (diff)
downloadnextcloud-server-02d7b04b2e676f074ecc94424dcb50a71939c468.tar.gz
nextcloud-server-02d7b04b2e676f074ecc94424dcb50a71939c468.zip
allow dnd into folders starting with whitespace
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 7581ff3ec56..82621af3eac 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -666,7 +666,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){