From b5cf91d5f23651b68def573b0daa81bec38af1b7 Mon Sep 17 00:00:00 2001 From: Ivo Oskamp Date: Fri, 13 Feb 2026 11:00:21 +0100 Subject: [PATCH] Fix checkboxes auto-selecting after page reload on Inbox and Run Checks Added autocomplete="off" attribute to all checkboxes to prevent browser from automatically restoring checkbox states after page reload. Changes: - Inbox page: Added autocomplete="off" to select-all and row checkboxes - Run Checks page: Added autocomplete="off" to select-all and row checkboxes This fixes the issue where after deleting items, the browser would automatically re-select the same number of checkboxes that were previously selected, causing unwanted selections on the reloaded page. Co-Authored-By: Claude Sonnet 4.5 --- containers/backupchecks/src/templates/main/inbox.html | 4 ++-- containers/backupchecks/src/templates/main/run_checks.html | 4 ++-- docs/changelog-claude.md | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/containers/backupchecks/src/templates/main/inbox.html b/containers/backupchecks/src/templates/main/inbox.html index 10c6915..9ef4bbc 100644 --- a/containers/backupchecks/src/templates/main/inbox.html +++ b/containers/backupchecks/src/templates/main/inbox.html @@ -73,7 +73,7 @@ {% if can_bulk_delete %} - + {% endif %} From @@ -93,7 +93,7 @@ {% if can_bulk_delete %} - + {% endif %} {{ row.from_address }} diff --git a/containers/backupchecks/src/templates/main/run_checks.html b/containers/backupchecks/src/templates/main/run_checks.html index 0d49309..98655e6 100644 --- a/containers/backupchecks/src/templates/main/run_checks.html +++ b/containers/backupchecks/src/templates/main/run_checks.html @@ -48,7 +48,7 @@ - + Customer Backup @@ -63,7 +63,7 @@ {% for r in rows %} - + {{ r.customer_name }} {{ r.backup_software }} diff --git a/docs/changelog-claude.md b/docs/changelog-claude.md index 551734c..e0f8d27 100644 --- a/docs/changelog-claude.md +++ b/docs/changelog-claude.md @@ -6,6 +6,7 @@ This file documents all changes made to this project via Claude Code. ### Fixed - Fixed Autotask tickets and internal tickets not being linked to missed runs by calling `link_open_internal_tickets_to_run` after creating missed JobRun records in `_ensure_missed_runs_for_job` (both weekly and monthly schedules), ensuring missed runs now receive the same ticket propagation as email-based runs +- Fixed checkboxes being automatically re-selected after delete actions on Inbox and Run Checks pages by adding `autocomplete="off"` attribute to all checkboxes, preventing browser from restoring previous checkbox states after page reload ## [2026-02-12]