Bugzilla – Attachment 191166 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
1767e13.patch (text/plain), 1.83 KB, created by
Jonathan Druart
on 2026-01-09 14:53:39 UTC
(
hide
)
Description:
Bug 41580: Tidy kohaTable - tools/holidays.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:53:39 UTC
Size:
1.83 KB
patch
obsolete
>From 1767e13941c84cf174a6d32635d3306b8ee55ea3 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 > >--- > .../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 855131c8f82..f56bf11fac9 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; > } > > /** >@@ -673,7 +678,7 @@ > } > > }, >- defaultDate: new Date("[% keydate | html %]") >+ defaultDate: new Date(keydate); > }); > > $(".hidePanel").on("click",function(){ >-- >2.43.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 41580
:
191163
|
191164
|
191165
| 191166 |
191167
|
191168
|
191169
|
191170
|
191171