0
1
Fork 0

Merge branch 'images'

This commit is contained in:
Juan Ferrer Toribio 2017-05-09 09:38:42 +02:00
commit ad2ee59b6c
1 changed files with 4 additions and 4 deletions

View File

@ -76,10 +76,10 @@ Hedera.Photos = new Class
if (!(fileData.sent || fileData.loading))
{
formData.set ('image', fileData.file);
formData.set ('name', fileData.name.value);
formData.set ('schema', this.$('schema').value);
formData.set ('srv', 'json:image/upload');
formData.append ('image', fileData.file);
formData.append ('name', fileData.name.value);
formData.append ('schema', this.$('schema').value);
formData.append ('srv', 'json:image/upload');
this.conn.sendFormData (formData,
this.onFileUpload.bind (this, fileData));