Bugzilla – Attachment 186499 Details for
Bug 4858
Ability to Charge for Print Notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4858: Messaging print preference should be checked by default
Bug-4858-Messaging-print-preference-should-be-chec.patch (text/plain), 1.53 KB, created by
Jacob O'Mara
on 2025-09-16 17:02:00 UTC
(
hide
)
Description:
Bug 4858: Messaging print preference should be checked by default
Filename:
MIME Type:
Creator:
Jacob O'Mara
Created:
2025-09-16 17:02:00 UTC
Size:
1.53 KB
patch
obsolete
>From 8d3a257d151b1430cbeeecec606ec8da9fe4b147 Mon Sep 17 00:00:00 2001 >From: Jacob O'Mara <jacob.omara@openfifth.co.uk> >Date: Tue, 1 Jul 2025 15:57:57 +0100 >Subject: [PATCH] Bug 4858: Messaging print preference should be checked by > default > >--- > koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >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 f59c6dc1f4a..810164f052b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js >@@ -34,7 +34,7 @@ $(document).ready(function () { > function (data) { > $.each(data.messaging_preferences, function (i, item) { > var attrid = item.message_attribute_id; >- var transports = ["email", "rss", "sms"]; >+ var transports = ["email", "rss", "sms","print"]; > $.each(transports, function (j, transport) { > if (item["transports_" + transport] == 1) { > $("#" + transport + attrid).prop( >@@ -106,4 +106,7 @@ $(document).ready(function () { > $(".pmp_phone").click(function () { > toggle_digest(Number($(this).attr("id").replace("phone", ""))); > }); >+ $(".pmp_print").click(function () { >+ toggle_digest(Number($(this).attr("id").replace("print", ""))); >+ }); > }); >-- >2.39.5
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 4858
:
186491
|
186492
|
186493
|
186494
|
186495
|
186496
|
186497
|
186498
| 186499 |
186500
|
186501
|
186502