John O'Keefe
79b47c9680
fix(collections): Close/Cancel removed the hidden confirm dialog, not the modal
...
closeCollectionModal picked document.querySelector(".fixed.inset-0") —
the FIRST overlay in DOM order, which is the sitewide #confirm-modal
that the header renders (hidden, display:none, but present). The real
create/edit modal stayed open: every Close and Cancel click on the
collection modals did nothing. Caught by the knob-matrix spec — the
pencil-glyph case clicked Close and the Edit modal persisted.
The buttons now pass $el and the overlay OWNING the button is closed
(closest(".fixed.inset-0")), falling back to #modal-container's child
for non-Alpine callers. Both the collection create/edit modal and the
restore-system modal take the argument.
2026-10-31 15:40:21 -04:00
..
2026-10-28 09:37:14 -04:00
2026-10-28 09:37:14 -04:00
2026-10-28 09:37:14 -04:00
2026-10-25 11:06:08 -04:00
2026-10-13 12:24:12 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-30 13:54:37 -04:00
2026-10-30 13:54:37 -04:00
2026-10-27 13:22:54 -04:00
2026-10-27 13:22:54 -04:00
2026-10-30 10:12:43 -04:00
2026-10-30 10:12:43 -04:00
2026-10-25 18:14:44 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-25 17:22:40 -04:00
2026-10-25 18:14:44 -04:00
2026-10-25 18:14:44 -04:00
2026-10-30 15:52:14 -04:00
2026-10-30 15:52:14 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-29 16:05:03 -04:00
2026-10-29 16:05:03 -04:00
2026-05-24 21:20:24 -04:00
2026-03-27 15:52:02 -04:00
2026-10-30 20:50:55 -04:00
2026-10-30 20:50:55 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-27 23:33:52 -04:00
2026-10-31 15:40:21 -04:00
2026-10-31 15:40:21 -04:00
2026-10-30 20:50:55 -04:00
2026-10-30 20:50:55 -04:00
2026-10-31 13:39:24 -04:00
2026-10-31 13:39:24 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-26 08:17:49 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-24 14:31:36 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-25 11:06:08 -04:00
2026-08-10 13:43:13 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 18:59:36 -04:00
2026-10-31 13:14:05 -04:00
2026-10-31 13:14:05 -04:00
2026-10-25 11:06:08 -04:00
2026-08-05 16:45:02 -04:00
2026-10-31 13:14:05 -04:00
2026-10-31 13:14:05 -04:00
2026-10-29 16:17:55 -04:00
2026-10-29 16:17:55 -04:00
2026-10-25 17:22:40 -04:00
2026-10-25 16:58:28 -04:00
2026-10-30 20:50:38 -04:00
2026-10-30 20:50:38 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 19:44:34 -04:00
2026-10-31 13:14:05 -04:00
2026-10-30 14:13:39 -04:00
2026-10-30 14:13:39 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-26 13:59:32 -04:00
2026-10-26 13:59:32 -04:00
2026-10-25 11:06:08 -04:00
2026-08-05 16:45:02 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-24 19:44:34 -04:00
2026-10-24 19:44:34 -04:00
2026-10-31 15:40:21 -04:00
2026-10-31 15:40:21 -04:00
2026-10-27 15:11:49 -04:00
2026-10-27 15:11:49 -04:00
2026-10-28 10:12:20 -04:00
2026-10-28 10:12:20 -04:00
2026-10-03 23:54:07 -04:00
2026-10-24 19:44:34 -04:00
2026-10-24 19:44:34 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-18 12:08:07 -04:00
2026-10-18 12:08:07 -04:00
2026-10-18 12:08:07 -04:00
2026-10-25 11:06:08 -04:00
2026-05-10 16:13:21 -04:00
2026-10-31 13:39:24 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-19 18:59:36 -04:00
2026-10-29 15:44:48 -04:00