fixed errors

This commit is contained in:
Marcel Gansfusz
2025-02-24 23:24:43 +01:00
parent 7737915e35
commit e273e4d788
3 changed files with 3 additions and 3 deletions

View File

@@ -317,8 +317,8 @@ async function uploadFile(formData) {
console.log("upload OK " + responseJSON["filename"]);
console.log(response);
delete doc.pdf;
delete doc;
document.getElementById("fname").value = responseJSON.filename;
//delete doc;
document.getElementById("name").value = responseJSON.filename;
doc = new PDFDocument(
responseJSON.path,
responseJSON.fid,