Files
terra-view/templates/partials
serversdown e27aef33ac fix(slm): guard htmx.trigger so deploy/bench doesn't throw on pages without #slm-list
toggleSLMDeployed() and the save-config success path both called
htmx.trigger('#slm-list', 'load') guarded only by `typeof htmx !== 'undefined'`.
No page actually has a #slm-list element, so htmx resolved the selector to null
and called null.dispatchEvent(...) -> "can't access property dispatchEvent, e is
null". The deploy POST had already succeeded and the green success message had
already rendered, so the user saw both "Unit marked as deployed." and a red
error. Guard the trigger on the element existing so it's a harmless no-op.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 18:34:15 +00:00
..
2026-01-21 23:11:58 +00:00
2025-12-15 18:27:00 +00:00
2025-12-02 06:36:13 +00:00
2025-12-02 06:36:13 +00:00
2026-01-29 07:50:13 +00:00
2026-01-02 20:27:09 +00:00
2025-12-03 00:51:18 +00:00