Bug 27191: Set focus on first input when adding a new patron category
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 18 Aug 2022 20:15:30 +0000 (20:15 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 20:45:20 +0000 (13:45 -0700)
commit41b2f087efce7fa79c7d42da69e36a82fafd395c
tree84b063a629258df8d479653a4281be319a4d63cd
parent4d772a8fe0d38c0e5351397ebec5f7eb9837d376
Bug 27191: Set focus on first input when adding a new patron category

When adding a new patron category, the focus/cursor should be
in the first input field of the form: Category code

To test:
* Add a new patron category in administration > patron categories
  - cursur is in no field
* Apply patch
* Add another new patron category
  - cursor is now in the first input field of the form: Category code

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