Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard c841e8a8bf
Bug 24510: When Placing a Hold, cursor doesn't focus on Patron Name
This alternate patch tries to implement a fix in a more "correct" way by
tying the cursor focus to the initialization of the jQueryUI tabs. By
configuring both the "create" and "activate" events we can make sure the
correct input field is focused.

I think the only advantage of this patch over the other one is that
tying the focus to the tabs activation makes it a little more obvious
where in the DOM loading sequence the focus is being set.

To test, follow the original patch's test plan:

TEST PLAN:
1. Go to Biblio Record
2. Place Hold (request.pl) - either the Hold above the Bib or the Hold
   on the left, it does the same thing.
3. Note that the cursor does not go to Patron Name (for whom to place
   the hold for), it goes to the Top Search bar under Checkout.
4. Apply patch and reload the page.
5. The focus should now be correctly set.
6. Toggle between 'Patrons' and 'Club' tabs.
7. Focus should stay set.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-19 09:25:59 +00:00
..
data Bug 24312: Update MARC21 frameworks to Updates 28+29 (May and November 2019) 2020-01-07 15:10:45 +00:00
includes Bug 24846: Link to the new tool 2020-03-19 08:56:38 +00:00
modules Bug 24510: When Placing a Hold, cursor doesn't focus on Patron Name 2020-03-19 09:25:59 +00:00
xslt Bug 22969: fix biblionumber on 001 in UNIMARC XSLT 2020-03-06 09:56:00 +00:00
columns.def Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00