Bug 30175: Toggle digest boxes when loading messaging preferences
authorNick Clemens <nick@bywatersolutions.com>
Thu, 24 Feb 2022 12:12:27 +0000 (12:12 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Mar 2022 21:01:04 +0000 (11:01 -1000)
commit4903d67f09c32d72c82a702c161914545f42504e
tree2115d596956d603dad67e3742333dee44ae0b9e7
parent9abd94b2516d979887e19b7dc7bfbbe1e8a7e533
Bug 30175: Toggle digest boxes when loading messaging preferences

To test:
1 - Define default messaging preferences for a patron category, checking a transport and the digest only boxes
2 - Create a new patron of a different category
3 - Change the category to the one set above
4 - Note that checkboxes are checked, but digest boxes are disabled
5 - Save patron - the digest boxes are not saved
6 - Apply patch
7 - Repeat 2&3
8 - Note checkboxes for digest are checked and enabled
9 - Save patron and confirm options are saved

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js