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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 8 Feb 2023 16:47:47 +0000 (16:47 +0000)
commit1d19b62a24a50f3458040881e3463e7d827d5612
treeeff1da7e1b5b2509b089ede0ffa830cf629541be
parent8ecf1a75553fb60e0673660970ccba40c0fad600
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt