diff --git a/.last-branch b/.last-branch index e6aed7e..e8abf56 100644 --- a/.last-branch +++ b/.last-branch @@ -1 +1 @@ -v20260119-09-autotask-disabled-legacy-ticket-ui +v20260119-10-runchecks-renderRun-alias diff --git a/containers/backupchecks/src/templates/main/run_checks.html b/containers/backupchecks/src/templates/main/run_checks.html index ef5f95d..cc5f532 100644 --- a/containers/backupchecks/src/templates/main/run_checks.html +++ b/containers/backupchecks/src/templates/main/run_checks.html @@ -955,7 +955,7 @@ table.addEventListener('change', function (e) { for (var i = 0; i < runs.length; i++) { if (String(runs[i].id) === String(keepRunId)) { idx = i; break; } } - renderModal(payload, idx); + renderRun(payload, idx); }); } }) @@ -964,7 +964,7 @@ table.addEventListener('change', function (e) { else alert(e.message || 'Failed.'); }) .finally(function () { - // State will be recalculated by renderModal/renderRun. + // State will be recalculated by renderRun. }); }); } diff --git a/docs/changelog.md b/docs/changelog.md index 1c5e271..4e24a7e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -271,6 +271,14 @@ Changes: - Hidden the Autotask ticket creation section entirely when the integration is turned off. - Re-enabled the original legacy ticket creation flow to allow correct Ticket and TicketJobRun linking without Autotask. + +## v20260119-10-runchecks-renderRun-alias + +### Changes: +- Fixed remaining JavaScript references to the non-existent renderModal() function in the Run Checks flow. +- Ensured consistent use of renderRun() when toggling the Autotask integration on and off. +- Prevented UI errors when re-enabling the Autotask integration after it was disabled. + *** ## v0.1.21