Bugzilla – Attachment 194265 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
9df7e48.patch (text/plain), 1.64 KB, created by
Martin Renvoize (ashimema)
on 2026-03-02 09:27:51 UTC
(
hide
)
Description:
Bug 4858: Messaging print preference should be checked by default
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2026-03-02 09:27:51 UTC
Size:
1.64 KB
patch
obsolete
>From 9df7e48c49f644fe371df76f1524b2df07185214 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 > >Sponsored-by: OpenFifth <https://openfifth.co.uk\> >Signed-off-by: Jackie Usher <jackie.usher@westsussex.gov.uk> >--- > 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.53.0 >
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
|
194257
|
194258
|
194259
|
194260
|
194261
|
194262
|
194263
|
194264
| 194265 |
194266
|
194267
|
194268
|
194269
|
194270
|
194271
|
194272