Archived
1
0
This commit is contained in:
Jeff Becker 2017-10-01 12:01:18 -04:00
parent 8038663b0a
commit 93cc2ff803
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -114,9 +114,12 @@ onready(function() {
console.log(input);
if(input.files)
{
for (var file in input.files)
for (var i =0 ; i < input.files.length; i++)
{
var file = input.files[i];
data.append(input.name, file, file.name);
}
}
else if(input.name)
data.append(input.name, input.value);
}