moves graphics folder

This commit is contained in:
Marcel Gansfusz
2025-07-30 11:17:19 +02:00
parent 46f44901e8
commit ec08eea910
12 changed files with 436 additions and 15 deletions

View File

@@ -273,6 +273,9 @@ function submitPdf(eve) {
formdata.append("fileId", doc.fID);
//formdata.append("filename", doc.filename);
formdata.append("ftype", doc.filetype);
if (!formdata.has("censor")) {
formdata.append("censor", "False");
}
console.log(formdata);
submitForm(formdata);
}
@@ -361,12 +364,13 @@ function initListeners() {
});
}
const startPdf = () => {
doc = new PDFDocument(
"./files/b78c869f-e0bb-11ef-9b58-84144d05d665",
"b78c869f-e0bb-11ef-9b58-84144d05d665",
"pdf",
);
// doc = new PDFDocument(
// "./files/b78c869f-e0bb-11ef-9b58-84144d05d665",
// "b78c869f-e0bb-11ef-9b58-84144d05d665",
// "pdf",
// );
//pdf = new PDFView("./VO_Mathematik_3.pdf");
doc = new PDFDocument("./files/greeting", "greeting", "pdf");
initDraw();
initUpload();
initListeners();