When performing a search for a guarantor on guarantor_search.pl you have to click in the search box so that you can enter text. It would be more efficient to set the focus for the cursor to always be in the search box so that you could just begin typing and eliminate and extra click.
Created attachment 112002 [details] [review] 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.
Created attachment 112005 [details] [review] 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>
Created attachment 112034 [details] [review] 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>
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x