]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding comments on the form array indexes
authorThomas Mueller <thomas.mueller@tmit.eu>
Fri, 16 Nov 2012 10:58:33 +0000 (11:58 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Fri, 16 Nov 2012 10:58:33 +0000 (11:58 +0100)
apps/files/js/files.js

index 8b3ab06e6f8026964310d9ab10af09de6f085674..bb80841055b31ed909bf7ce2181ed84213cf21c1 100644 (file)
@@ -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) {