Bug 27193: Set focus on first input when adding a new patron attribute
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 18 Aug 2022 19:47:20 +0000 (19:47 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 20:44:52 +0000 (13:44 -0700)
commit4d772a8fe0d38c0e5351397ebec5f7eb9837d376
tree044e4c390c451d12159c02b2007c9d6ba1740135
parentcc0efad411a762cd7d2af6cf293b8c72b72ce5dc
Bug 27193: Set focus on first input when adding a new patron attribute

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

To test:
* Add a new patron attribute - cursur is in no field
* Apply patch
* Add another new patron attribute - cursor is now in
  the first input field: Patron attribute type code

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/patron-attr-types.tt