feat: add support for one-off recording schedules with start and end datetime

This commit is contained in:
serversdwn
2026-02-10 07:08:03 +00:00
parent 3b29c4d645
commit 842e9d6f61
9 changed files with 508 additions and 9 deletions

View File

@@ -772,6 +772,8 @@
// Handle Add Unit form submission
document.getElementById('addUnitForm').addEventListener('htmx:afterRequest', function(event) {
// Only handle the form's own POST request, not child HTMX requests (e.g. project picker search)
if (event.detail.elt !== this) return;
if (event.detail.successful) {
closeAddUnitModal();
refreshDeviceList();