Update upload-images.md
This commit is contained in:
@@ -114,7 +114,7 @@ tinymce.init({
|
|||||||
success(json.location);
|
success(json.location);
|
||||||
};
|
};
|
||||||
formData = new FormData();
|
formData = new FormData();
|
||||||
formData.append('file', blobInfo.blob(), fileName(blobInfo));
|
formData.append('file', blobInfo.blob(), blobInfo.filename());
|
||||||
xhr.send(formData);
|
xhr.send(formData);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user