summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-18 20:38:51 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-19 16:14:10 +0200
commit9ef7410abe282e2a81a9cd41672574a74282e4c3 (patch)
treeb1a0fe6b1a2724eab86f65fb3f859194b2788036 /apps/files_sharing/js
parenta921ad89259f1d580292d649a58160fab7a2a2d7 (diff)
downloadnextcloud-server-9ef7410abe282e2a81a9cd41672574a74282e4c3.tar.gz
nextcloud-server-9ef7410abe282e2a81a9cd41672574a74282e4c3.zip
Fixed uploading by drag and drop into folder
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/public.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 80631908d24..1d633a655d5 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -128,7 +128,7 @@ OCA.Sharing.PublicApp = {
data.formData = {
requesttoken: $('#publicUploadRequestToken').val(),
dirToken: $('#dirToken').val(),
- subdir: self.fileList.getCurrentDirectory(),
+ subdir: data.targetDir || self.fileList.getCurrentDirectory(),
file_directory: fileDirectory
};
});