From 051debfdf0aed29c3551287e74817c01ae06312c Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Wed, 7 Sep 2022 11:00:53 +0000 Subject: [PATCH] Text boxes prefilled with existing information --- image.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/image.php b/image.php index b657db2..117c4b6 100644 --- a/image.php +++ b/image.php @@ -274,6 +274,8 @@ "; flyoutShow(header, description, actionBox); + $('#descriptionInput').val(""); + $("#descriptionConfirm").submit(function(event) { event.preventDefault(); var descriptionInput = $("#descriptionInput").val(); @@ -308,6 +310,8 @@ "; flyoutShow(header, description, actionBox); + $('#tagsInput').val(""); + $("#tagsConfirm").submit(function(event) { event.preventDefault(); var tagsInput = $("#tagsInput").val();