From 43718a80399b3663331f99e5b0dbdc3cfa931242 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 25 May 2025 22:54:48 -0600 Subject: [PATCH] arrange for metadata modal to close on submit --- ui/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/index.html b/ui/index.html index 1169e30..41deed7 100644 --- a/ui/index.html +++ b/ui/index.html @@ -166,6 +166,8 @@ const form = event.currentTarget; const url = form.action; + var modal = document.getElementById('start-metadata') + try { const formData = new FormData(form); const responseData = await postFormDataAsJson({ url, formData }); @@ -174,6 +176,7 @@ } catch (error) { console.error(error); } + modal.style.display = "none"; } const metadataForm = document.getElementById("test-metadata"); -- 2.47.2