Bugzilla – Attachment 191326 Details for
Bug 41564
Tidy kohaTable block - admin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41564: Tidy kohaTable - admin/systempreferences.tt
Bug-41564-Tidy-kohaTable---adminsystempreferencest.patch (text/plain), 2.05 KB, created by
Owen Leonard
on 2026-01-12 19:36:35 UTC
(
hide
)
Description:
Bug 41564: Tidy kohaTable - admin/systempreferences.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-12 19:36:35 UTC
Size:
2.05 KB
patch
obsolete
>From b6007827b021f9f4b91d33d950b567ff0bb938e8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 11:11:01 +0100 >Subject: [PATCH] Bug 41564: Tidy kohaTable - admin/systempreferences.tt > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../en/modules/admin/systempreferences.tt | 22 ++++++++++--------- > 1 file changed, 12 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt >index 81078345f64..4d74c154e75 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt >@@ -491,28 +491,30 @@ > [% MACRO jsinclude BLOCK %] > [%# Add WYSIWYG editor for htmlarea system preferences %] > [% INCLUDE 'wysiwyg-systempreferences.inc' %] >- [% IF ( else ) %] >+ [% IF else && loop %] > [% INCLUDE 'datatables.inc' %] > <script> > $(document).ready(function() { >- [% IF ( loop ) %] >- $("#sysprefst").kohaTable({ >- dom: '<"top pager"ilf>t', >- paging: false, >- }); >- [% END %] >+ $("#sysprefst").kohaTable({ >+ dom: '<"top pager"ilf>t', >+ paging: false, >+ }); > }); > </script> > [% END %] >- <script> >- [% IF ( add_form ) %] >+ >+ [% IF ( add_form ) %] >+ <script> > $(document).ready(function() { > $('.variabletype').css({ color: "#0000CC", cursor: "pointer" }); > $('.variabletype').click(function() { > $('#preftype').attr("value",$(this).attr("id")); > }); > }); >- [% END %] >+ </script> >+ [% END %] >+ >+ <script> > // FIXME: many of these js functions appear unused > function isNotNull(f,noalert) { > if (f.value.length ==0) { >-- >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 41564
:
191082
|
191083
|
191084
|
191085
|
191086
|
191087
|
191088
|
191089
|
191090
|
191091
|
191092
|
191093
|
191094
|
191095
|
191096
|
191097
|
191098
|
191099
|
191100
|
191310
|
191311
|
191312
|
191313
|
191314
|
191315
|
191316
|
191317
|
191318
|
191319
|
191320
|
191321
|
191322
|
191323
|
191324
|
191325
| 191326 |
191327
|
191328
|
191329