summaryrefslogtreecommitdiffstats
path: root/apps/files/js/file-upload.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-07 22:20:44 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-07 22:28:16 +0200
commit3587c88fe946196af009d02db7c7d5e2c8934fe9 (patch)
treea18ce4f6cb6acd08f082cb365f42f25a4b691c21 /apps/files/js/file-upload.js
parentbe9bc2c727e59ced01f86bc1781ac586f92bc29f (diff)
parent089052b13af7a5e27d225ab345616511f4eaf2a9 (diff)
downloadnextcloud-server-3587c88fe946196af009d02db7c7d5e2c8934fe9.tar.gz
nextcloud-server-3587c88fe946196af009d02db7c7d5e2c8934fe9.zip
Merge branch 'master' of https://github.com/lukepolo/core-1 into lukepolo-master
Conflicts: apps/files/js/file-upload.js
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r--apps/files/js/file-upload.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index e5d1eacbd14..46a53208406 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -329,7 +329,8 @@ OC.Upload = {
// noone set update parameters, we set the minimum
data.formData = {
requesttoken: oc_requesttoken,
- dir: $('#dir').val()
+ dir: $('#dir').val(),
+ file_directory: data.files[0]['relativePath']
};
}
},
@@ -683,3 +684,4 @@ $(document).ready(function() {
OC.Upload.init();
});
+