Bug 27920: (QA follow-up) Update expiration date Checkbox should be enabled when overwriting existing patrons

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle Hall 2022-08-11 07:38:03 -04:00 committed by Tomas Cohen Arazi
parent e4e453d5df
commit 46db96137d
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 2 additions and 0 deletions

View File

@ -452,10 +452,12 @@ you can supply dates in ISO format (e.g., '2010-10-28').
$("#overwrite_cardnumberno").click(function(){
$("#overwrite_passwords").prop('checked',false).prop('disabled',true);
$("#update_dateexpiry").prop('checked',false).prop('disabled',true);
$("#update_dateexpiry_from_today").prop('checked',false).prop('disabled',true);
});
$("#overwrite_cardnumberyes").click(function(){
$("#overwrite_passwords").prop('disabled',false);
$("#update_dateexpiry").prop('disabled',false);
$("#update_dateexpiry_from_today").prop('disabled',false);
});
</script>
[% END %]