summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-11-16 11:58:33 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2012-11-16 11:58:33 +0100
commit4a3b5125cfb4f35d8a40597aca200d0d37d494dd (patch)
treeaa6a601a75a55952daa9141015504a550363da2b /apps
parent2b192a75c41c1ef1d02677cd08f5781a54391509 (diff)
downloadnextcloud-server-4a3b5125cfb4f35d8a40597aca200d0d37d494dd.tar.gz
nextcloud-server-4a3b5125cfb4f35d8a40597aca200d0d37d494dd.zip
adding comments on the form array indexes
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/files.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 8b3ab06e6f8..bb80841055b 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -286,6 +286,9 @@ $(document).ready(function() {
var jqXHR = $('.file_upload_start').fileupload('send', {files: files[i],
formData: function(form) {
var formArray = form.serializeArray();
+ // array index 0 contains the max files size
+ // array index 1 contains the request token
+ // array index 2 contains the directory
formArray[2]['value'] = dirName;
return formArray;
}}).success(function(result, textStatus, jqXHR) {