]> git.koha-community.org Git - koha.git/commit
Bug 26694: Set focus for cursor to search input box on guarantor_search.pl
authorOwen Leonard <oleonard@myacpl.org>
Mon, 19 Oct 2020 17:55:26 +0000 (17:55 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Nov 2020 09:57:35 +0000 (10:57 +0100)
commitff52478d09b522974c436904b0145bab83d88127
tree19253fe13128595968d1c6465aedf0bc0f1c3da9
parent7ea60c0bd94cbbcd22e88e59d95131078aa2bc50
Bug 26694: Set focus for cursor to search input box on guarantor_search.pl

This patch adds the "focus" class to the patron search field so that
cursor focus is set when the page loads.

To test, apply the patch and view an adult patron record in the staff
client.

- Click the "Add guaratee" button in the patron toolbar.
- On the following "Add patron" page, click the "Search to add" button
  in the "Patron guarantor" section.
- A popup window should appear, and the focus should automatically be on
  the first form field.

Signed-off-by: Barbara 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/common/patron_search.tt