From 4a87c860681ee2c872aa3f40c024d6d66f8d087c Mon Sep 17 00:00:00 2001 From: Lars Krönner Date: Mon, 8 Feb 2021 12:19:08 +0100 Subject: HOTFIXX!! --- profile/public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile/public/script.js') diff --git a/profile/public/script.js b/profile/public/script.js index a115b64..8910746 100644 --- a/profile/public/script.js +++ b/profile/public/script.js @@ -58,7 +58,7 @@ function appendQuestions(question) { const field = document.createElement("input"); field.id = "id_" + question.id; field.name = question.id; - if (question.answer !== undefined) init = false; + if (question.answer !== undefined && question.type !== "file") init = false; field.value = question.answer || ""; field.placeholder = question.question; field.type = question.type; -- cgit v1.2.3