Bug 26830: Set focus for cursor to name input box when creating a new list in the...
commitb127f862ee991aefba80f9d7238615a93953370b
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Oct 2020 19:46:30 +0000 (26 19:46 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Nov 2020 09:57:35 +0000 (3 10:57 +0100)
treea736f0a4a3b354eb248c449b615101cb4fc8c43b
parent42060794fc48dfe649a1a8aba1d7db2e7ff1c09d
Bug 26830: Set focus for cursor to name input box when creating a new list in the OPAC

This patch adds the "focus" class to the list name input box in order to
automatically set focus on the field.

To test, apply the patch and log in to the OPAC.

- Go to Lists -> New list.
- The cursor focus should automatically be on the "list name" field.

Signed-off-by: B Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt