Fixed input file

This commit is contained in:
Pierre 2018-01-07 16:29:20 +01:00
parent 9275f3b910
commit cff63299d9

View File

@ -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);
}