Bugzilla – Attachment 131064 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.74 KB, created by
Lucas Gass (lukeg)
on 2022-02-24 15:15:42 UTC
(
hide
)
Description:
Bug 30175: Toggle digest boxes when loading messaging preferences
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-02-24 15:15:42 UTC
Size:
1.74 KB
patch
obsolete
>From 41a23c771ab7821d12a882810c2bce8a8ddac2e2 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> >--- > 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 3babbbd1f2..1dcaf4055e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >@@ -26,8 +26,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