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:
parent
e4e453d5df
commit
46db96137d
1 changed files with 2 additions and 0 deletions
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue