Bugzilla – Attachment 132192 Details for
Bug 30175
Digest options not enabled when populating messaging preferences for a selected category during patron entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30175: Toggle digest boxes when loading messaging preferences
Bug-30175-Toggle-digest-boxes-when-loading-messagi.patch (text/plain), 1.80 KB, created by
Martin Renvoize
on 2022-03-24 17:02:56 UTC
(
hide
)
Description:
Bug 30175: Toggle digest boxes when loading messaging preferences
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2022-03-24 17:02:56 UTC
Size:
1.80 KB
patch
obsolete
>From 28f1ad0eee048d7d3bffb49c388abba37356b03c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 24 Feb 2022 12:12:27 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js b/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >index 4c95d9042b..489d69db06 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >@@ -30,8 +30,10 @@ $(document).ready(function(){ > $.each(transports, function(j, transport) { > if (item['transports_' + transport] == 1) { > $('#' + transport + attrid).prop('checked', true); >+ toggle_digest(attrid); > } else { > $('#' + transport + attrid).prop('checked', false); >+ toggle_digest(attrid); > } > }); > if (item.digest && item.digest != ' ') { >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30175
:
131062
|
131064
| 132192