Bug 27195: Set focus on first input when adding a new city
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 18 Aug 2022 19:55:17 +0000 (19:55 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 16 Sep 2022 19:57:33 +0000 (16:57 -0300)
commite86b1b19e65a8e0a8986279b4a91fbdeb8acc78d
treeecd2fe7d6c90149ec812037b4d8c589312bf4481
parent9be197d567c71bf1937e8e2bdd6c29955f9ce3a2
Bug 27195: Set focus on first input when adding a new city

When adding a new city, the focus/cursor should be
in the first input field of the form: City

To test:
* Add a new city in administration > cities
  - cursur is in no field
* Apply patch
* Add another new city
  - cursor is now in the first input field of the form: City

https://bugs.koha-community.org/show_bug.cgi?id=27193

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
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/cities.tt