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,8 +114,11 @@ onready(function() {
console.log(input); console.log(input);
if(input.files) 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); data.append(input.name, file, file.name);
}
} }
else if(input.name) else if(input.name)
data.append(input.name, input.value); data.append(input.name, input.value);