Bug 31398: Set focus on first input when adding a new authority type
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 18 Aug 2022 20:33:42 +0000 (20:33 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 20:44:05 +0000 (13:44 -0700)
commit392ee0ff81774dcd70fb64dcd0b033b19ec7f9e6
tree53710cb80b6f746634640d5efb26460f95e32e19
parent4ea1cf6cce114b0bbd55ea5f75d9e67f8a7c63ca
Bug 31398: Set focus on first input when adding a new authority type

When adding a new authority type the focus should be on the
first field of the input form: Authority type

* Add a new authority type from administration > authority types
* Verify the focus is not on any of the form fields/inputs
* Apply patch
* Add another new authority type
* Verify the focus/cursor is now in the Authority type field

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt