Bug 31405: Set focus for cursor to setSpec input when adding a new OAI set
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 4 Feb 2023 23:54:22 +0000 (23:54 +0000)
committerdanyonsewell <danyonsewell@catalyst.net.nz>
Fri, 21 Jul 2023 02:13:02 +0000 (02:13 +0000)
commitcc096b62df1dbde30a43a793e34411eb05fb92a2
treec29f990a8526bca6b349420e382c2431068d48eb
parentd5a1f3b419b51bf844d7b8739ce7252866f7c3aa
Bug 31405: Set focus for cursor to setSpec input when adding a new OAI set

Makes sure the focus is in the first form field when adding
a new OAI set: setSpec

To test:
* Go to administration > OAI sets
* Add a new set, verify the focus is still in the search bar on top
* Apply patch
* Repeat and verify the focus is now in the first form field
* Save set
* Edit set and verify the focus is in the search field at the top

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5a5034792c5269ef11f2acddd3d6055886cded06)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b9abcea244ecc43762fab6a607ea3564b2da1291)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 7c94ccd664cd7162d3c20229c7eb4cc5bc5ee4c5)
Signed-off-by: danyonsewell <danyonsewell@catalyst.net.nz>
(Cherry picked from commit 7c94ccd664cd7162d3c20229c7eb4cc5bc5ee4c5)
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt