Bugzilla – Attachment 194968 Details for
Bug 41580
Tidy kohaTable block - tools
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41580: Tidy kohaTable - tools/holidays.tt
Bug-41580-Tidy-kohaTable---toolsholidaystt.patch (text/plain), 1.94 KB, created by
Paul Derscheid
on 2026-03-09 08:49:32 UTC
(
hide
)
Description:
Bug 41580: Tidy kohaTable - tools/holidays.tt
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-03-09 08:49:32 UTC
Size:
1.94 KB
patch
obsolete
>From 9ad6afa4cee4778d6357045b482239f2a72a8aae Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 15:52:27 +0100 >Subject: [PATCH] Bug 41580: Tidy kohaTable - tools/holidays.tt > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../intranet-tmpl/prog/en/modules/tools/holidays.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >index bfd0e3e50a6..9733c7a0e45 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt >@@ -449,6 +449,11 @@ > day_month_holidays["[% DAY_MONTH_HOLIDAYS_LOO.KEY | html %]"] = {title:"[% DAY_MONTH_HOLIDAYS_LOO.TITLE | replace('"','\"') | html %]", description:"[% DAY_MONTH_HOLIDAYS_LOO.DESCRIPTION | replace('"','\"') | html %]"}; > [% END %] > >+ const calendardate = "[% calendardate | html %]"; >+ const keydate = "[% keydate | html %]"; >+ </script> >+ >+ <script> > function holidayOperation(formObject, opType) { > var op = document.getElementsByName('operation'); > op[0].value = opType; >@@ -518,7 +523,7 @@ > > function changeBranch () { > var branch = $("#branch option:selected").val(); >- location.href='/cgi-bin/koha/tools/holidays.pl?branch=' + branch + '&calendardate=' + "[% calendardate | html %]"; >+ location.href='/cgi-bin/koha/tools/holidays.pl?branch=' + branch + '&calendardate=' + calendardate; > } > > /** >@@ -677,7 +682,7 @@ > } > > }, >- defaultDate: new Date("[% keydate | html %]") >+ defaultDate: new Date(keydate); > }); > > $(".hidePanel").on("click",function(){ >-- >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 41580
:
191163
|
191164
|
191165
|
191166
|
191167
|
191168
|
191169
|
191170
|
191171
|
191697
|
191698
|
191699
|
191700
|
191701
|
191702
|
191703
|
191704
|
191705
|
191706
|
191707
|
194965
|
194966
|
194967
| 194968 |
194969
|
194970
|
194971
|
194972
|
194973
|
194974
|
194975
|
194976
|
194977
|
194978
|
194979