]> git.koha-community.org Git - koha.git/commit
Bug 26826: Set focus for cursor to name input box when creating a new list
authorOwen Leonard <oleonard@myacpl.org>
Mon, 26 Oct 2020 20:59:52 +0000 (20:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Nov 2020 09:57:35 +0000 (10:57 +0100)
commit7815e37258498bf4034c738af17c64bf5941eff5
treeada4ffe96aac24df1af52eaddc7f92796f854da9
parent27735ed40deaf438e622acee0d41147bdbe2d5e1
Bug 26826: Set focus for cursor to name input box when creating a new list

This patch adds the "focus" class to the list name input field so that
it automatically has focus when the page loads.

To test, apply the patch and open the lists page in the staff client.

- Click "New list."
- When the list creation page loads the "Name" field should have focus.

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/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt