mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Fixed input file
This commit is contained in:
@ -374,7 +374,7 @@ ComunicWeb.components.posts.form = {
|
||||
|
||||
//Append values
|
||||
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