Bug 31397: Set focus in first input when adding a new bibliographic framework
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 18 Aug 2022 20:24:57 +0000 (20:24 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 20:42:47 +0000 (13:42 -0700)
commita3ad2da8a632df7a48c6ef2b3c49e939f1fd3d78
treebbe25e48422917692a11b572056ae75226f23f43
parent11514e6fd265ac62e86ebd42688dd7730812aa8b
Bug 31397: Set focus in first input when adding a new bibliographic framework

When adding a new bibliographic framework, the focus/cursor should be
in the first input field of the form: Framework code

To test:
* Add a new bibliographic framework from adminsitration > bibliographic
  MARC frameworks
  - cursur is in no field
* Apply patch
* Add another new framework
  - cursor is now in the first input field of the form: Framework code

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

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/biblio_framework.tt