forked from verdnatura/hedera-web
Merge branch 'images'
This commit is contained in:
commit
ad2ee59b6c
|
@ -76,10 +76,10 @@ Hedera.Photos = new Class
|
||||||
|
|
||||||
if (!(fileData.sent || fileData.loading))
|
if (!(fileData.sent || fileData.loading))
|
||||||
{
|
{
|
||||||
formData.set ('image', fileData.file);
|
formData.append ('image', fileData.file);
|
||||||
formData.set ('name', fileData.name.value);
|
formData.append ('name', fileData.name.value);
|
||||||
formData.set ('schema', this.$('schema').value);
|
formData.append ('schema', this.$('schema').value);
|
||||||
formData.set ('srv', 'json:image/upload');
|
formData.append ('srv', 'json:image/upload');
|
||||||
this.conn.sendFormData (formData,
|
this.conn.sendFormData (formData,
|
||||||
this.onFileUpload.bind (this, fileData));
|
this.onFileUpload.bind (this, fileData));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue