Bug 42169: (follow-up) When changing to a new category set messaging prefs dirty

Signed-off-by: John Vinke <jvinke@austinseminary.edu>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2026-03-26 15:20:02 +00:00
parent 0809d09222
commit 1fe357b289
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ $(document).ready(function () {
if ($("#messaging_prefs_loading").length) {
$("#categorycode_entry").change(function () {
var categorycode = $(this).val();
// if we change category, consider the messaging prefs dirty
message_prefs_dirty = true;
// Show the combined modal and reset checkboxes to checked
$("#categoryChangeUpdateMessaging").prop("checked", true);
$("#categoryChangeUpdateExpiry").prop("checked", true);