]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Jun 2023 16:16:42 +0000 (16:16 +0000)
commitee095916fc0b94bf2e50a277fa6b188c72598246
tree2f804ab0c3b3c3a12ac110192774a0c72bda4675
parentf9090a2858a9292c36cea318edaffd1cf164b3f6
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt