Bugzilla – Attachment 171915 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.45 KB, created by
Phil Ringnalda
on 2024-09-24 03:06:34 UTC
(
hide
)
Description:
Bug 37983: Restore auto-focus on patron input when "Schedule a pickup" is selected
Filename:
MIME Type:
Creator:
Phil Ringnalda
Created:
2024-09-24 03:06:34 UTC
Size:
1.45 KB
patch
obsolete
>From 8f8de723d27ae1121cfe3691ddaba23988a3b8e8 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 > >Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> >--- > .../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 439684bee4..ac3c0d3182 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.44.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 37983
:
171873
|
171915
|
171948