Bug 31407: Set focus for cursor to Currency when adding a new currency
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 4 Feb 2023 23:58:05 +0000 (23:58 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 15 Feb 2023 21:37:14 +0000 (21:37 +0000)
commitf09eed687cf35f9c4f8423cda74be5ca4ed3ec0f
treee33dbf609940649b1f86e581d2f335dd611f1a24
parentb0025d14d866f786c453a36c62f33d9bdcedc829
Bug 31407: Set focus for cursor to Currency when adding a new currency

This makes sure that the focus is on the first field of the
form when adding a new currency.

To test:
* Go to administration > currencies
* Add a new currency
* Verify the focus is not on the form
* Apply patch
* Repeat, verify the focus is now on the first input "currency"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fcb19865e82c6389f64a984ed8ef0dbde5afc2d7)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 1d19b62a24a50f3458040881e3463e7d827d5612)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt