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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Feb 2023 18:30:30 +0000 (15:30 -0300)
commitfcb19865e82c6389f64a984ed8ef0dbde5afc2d7
treeee8300fc0f7b1fc3aeba395ec1148f62a7124c74
parentd0abe773e8d9b194e3d0d02c479f5bc2c9bd920a
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt