Bugzilla – Attachment 171873 Details for
Bug 37983
"Search a patron" box no longer has auto focus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37983: Restore auto-focus on patron input when "Schedule a pickup" is selected
Bug-37983-Restore-auto-focus-on-patron-input-when-.patch (text/plain), 1.40 KB, created by
Jonathan Druart
on 2024-09-23 10:08:57 UTC
(
hide
)
Description:
Bug 37983: Restore auto-focus on patron input when "Schedule a pickup" is selected
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-09-23 10:08:57 UTC
Size:
1.40 KB
patch
obsolete
>From 9b2c0210f9cb669c851ae724131d1a83d532d35c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 23 Sep 2024 12:07:20 +0200 >Subject: [PATCH] Bug 37983: Restore auto-focus on patron input when "Schedule > a pickup" is selected > >In the curbside pickup module, when the "Schedule a pickup" tab is selected we expect >the patron search box to get the focus. But it has been broken bug 30965 (which changed the id of the input). > >Test plan: >Setup curbside pickup for your library >Go to Circulation > Curbside pickups >Click the last tab >Notice that you can directly search for a patron, the input has the >focus >--- > .../intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >index 439684bee44..ac3c0d31826 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >@@ -546,7 +546,7 @@ > $(document).ready(function() { > > $('#schedule-pickup-tab').on('click', function() { >- $('#input-patron-cardnumber').focus(); >+ $('#find-patron').focus(); > }); > > const pickup_date = document.querySelector("#pickup_date"); >-- >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 37983
:
171873
|
171915
|
171948