mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-11-03 11:44:19 +00:00
Fixed input file
This commit is contained in:
@@ -374,7 +374,7 @@ ComunicWeb.components.posts.form = {
|
|||||||
|
|
||||||
//Append values
|
//Append values
|
||||||
datas.append("kind", "pdf");
|
datas.append("kind", "pdf");
|
||||||
datas.append("image", pdfFileInput.files[0], pdfFileInput.files[0].name);
|
datas.append("pdf", pdfFileInput.files[0], pdfFileInput.files[0].name);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user