home
·
contact
·
privacy
projects
/
ledgplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f2b439
)
Fix /edit_structured per-line buttons not working.
master
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Feb 2026 18:01:16 +0000
(19:01 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Feb 2026 18:01:16 +0000
(19:01 +0100)
src/templates/edit_structured.js
patch
|
blob
|
history
diff --git
a/src/templates/edit_structured.js
b/src/templates/edit_structured.js
index c988c0b7026d60d66428e192ebc0ee021216cad4..6fecc4843e3a1f11fb71c2537ce6af716e46b3cf 100644
(file)
--- 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
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;
if (row.classList.contains("skip")) {
nRowsSkipped++;
return;