Bugzilla – Attachment 191125 Details for
Bug 41569
Tidy kohaTable block - clubs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41569: Tidy kohaTable - clubs/clubs-tab.tt
1abd193.patch (text/plain), 1.81 KB, created by
Jonathan Druart
on 2026-01-09 14:47:41 UTC
(
hide
)
Description:
Bug 41569: Tidy kohaTable - clubs/clubs-tab.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:47:41 UTC
Size:
1.81 KB
patch
obsolete
>From 1abd19334d5978e4b6561e5d9214d767eb06159f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 16:35:39 +0100 >Subject: [PATCH] Bug 41569: Tidy kohaTable - clubs/clubs-tab.tt > >--- > .../opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >index 0e56b7e112a..93208c9c7e5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >@@ -66,10 +66,14 @@ > </tbody> > </table> > [% END %] >+<script> >+ const patron_id = "[% borrower.borrowernumber | html %]"; >+</script> >+ > <script> > function loadEnrollmentForm( id ) { > $("body").css("cursor", "progress"); >- $('#opac-user-clubs_panel').load('/cgi-bin/koha/clubs/enroll.pl?borrowernumber=[% borrower.borrowernumber | html %]&id=' + id, function() { >+ $('#opac-user-clubs_panel').load('/cgi-bin/koha/clubs/enroll.pl?borrowernumber=' + patron_id + '&id=' + id, function() { > $("body").css("cursor", "default"); > }); > >@@ -84,7 +88,7 @@ > data: { id: id, csrf_token: $('meta[name="csrf-token"]').attr('content'), }, > success: function( data ) { > if ( data.success ) { >- $('#opac-user-clubs_panel').load('/cgi-bin/koha/clubs/clubs-tab.pl?borrowernumber=[% borrower.borrowernumber | html %]', function() { >+ $('#opac-user-clubs_panel').load('/cgi-bin/koha/clubs/clubs-tab.pl?borrowernumber=' + patron_id, function() { > $("body").css("cursor", "default"); > }); > } else { >-- >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 41569
:
191124
| 191125 |
191126