]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 15:13:55 +0000 (12:13 -0300)
commit2504a282b5890168616c1a87206f8762c38a660d
treea141d59db8e791e9f209888355f9e873444545bb
parentab3ce787a1b32ec4e692c074749bd71e19cafda0
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt