Bugzilla – Attachment 175000 Details for
Bug 38536
Patrons requesting modifications: Expand correct panel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38536: Patrons requesting modifications: Expand correct panel
Bug-38536-Patrons-requesting-modifications-Expand-.patch (text/plain), 2.19 KB, created by
Jonathan Druart
on 2024-11-27 08:49:59 UTC
(
hide
)
Description:
Bug 38536: Patrons requesting modifications: Expand correct panel
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-27 08:49:59 UTC
Size:
2.19 KB
patch
obsolete
>From 2133698d30f4dc13fa4872fe474544b2c8b9b9f2 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 26 Nov 2024 15:57:12 +0000 >Subject: [PATCH] Bug 38536: Patrons requesting modifications: Expand correct > panel > >This patch updates the JavaScript on the patrons requesting modification >page in order to make it work following the upgrade to Bootstrap 5. The >automatic panel expansion is broken. > >To test, apply the patch and enable, if necessary, the OPACPatronDetails >system preference. > >- Log in to the OPAC and submit changes to your personal details. >- Do this again as a different user so that there is more than one > pending request. >- From the staff interface home page, follow the link for "Patrons > requesting modifications" >- Upon loading, the "Update patron records" page should automatically > expand the first panel. >- Locate the patron record for the second of the patrons you requested > updates for. >- From that patron's detail page, follow the "Review pending > modifications" link. >- The panel containing that patron's information should expand by > default. > >Sponsored-by: Athens County Public Libraries >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/members/members-update.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >index 9ae3cf2c596..0a34ebe579a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >@@ -223,9 +223,9 @@ > <script> > $(document).ready(function(){ > [%- IF ( active ) -%] >- $("#pending_updates_group a[href='#panel-" + [% active | html %] + "_panel']").click(); >+ $("#panel-" + [% active | html %] + "_panel").collapse("show"); > [%- ELSE -%] >- $("#pending_updates_group a.collapsed:eq(0)").click(); >+ $(".panel-collapse:eq(0)").collapse("show"); > [%- END -%] > }); > </script> >-- >2.34.1
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 38536
:
174989
|
174991
| 175000