async function confirmAction(response) {
const [form, formData] = await openForm(response, "form#confirm");
- /* Have to use explicit getAttribute() below since there is an input with
- * name="action" which would be accessed with `form.action` :-/
- */
const resp = await postForm(form, formData, "confirm");
if (!resp.ok) {
throw `${resp.url}: ${resp.status}`;