From a453daef36cce68e56f9b531f8459384fe103172 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 8 Feb 2026 19:01:16 +0100 Subject: [PATCH] Fix /edit_structured per-line buttons not working. --- src/templates/edit_structured.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/edit_structured.js b/src/templates/edit_structured.js index c988c0b..6fecc48 100644 --- a/src/templates/edit_structured.js +++ b/src/templates/edit_structured.js @@ -123,7 +123,7 @@ const updateForm = () => { btn.disabled = disabled; btn.onclick = () => { let nRowsSkipped = LEN_EMPTY; // ignore bookingLines-empty rows - table.rows.forEach((row, idx) => { + Array.from(table.rows).forEach((row, idx) => { if (row.classList.contains("skip")) { nRowsSkipped++; return; -- 2.30.2