]> git.koha-community.org Git - koha.git/commit
Bug 31410: Set focus for cursor to Server name when adding a new Z39.50/SRU server
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 5 Feb 2023 00:17:01 +0000 (00:17 +0000)
committerdanyonsewell <danyonsewell@catalyst.net.nz>
Thu, 20 Jul 2023 02:21:44 +0000 (02:21 +0000)
commitd5a1f3b419b51bf844d7b8739ce7252866f7c3aa
treea953c01df1cedd9aa3f9334eadc46cbdb8f6405c
parent01bba470680debe405f43b96d0891c5a93cc88a7
Bug 31410: Set focus for cursor to Server name when adding a new Z39.50/SRU server

This makes sure that the focus is in the first form field when
adding a new Z39.50 or SRU server.

To test:
* Administration > Z39.50/SRU servers
* Add a new server for each
* Verify the focus is not in the form
* Apply patch
* Verify the focus is now in the first form field
* Edit an existing server
* Verify the focus is not in the form

Not having the focus when editing is to avoid accidental changes.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2504a282b5890168616c1a87206f8762c38a660d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 71f20a1c3513759393a9bae3654eb295fcb4016e)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ee095916fc0b94bf2e50a277fa6b188c72598246)
Signed-off-by: danyonsewell <danyonsewell@catalyst.net.nz>
(cherry picked from commit ee095916fc0b94bf2e50a277fa6b188c72598246)
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt