From: Dan Pearl Date: Thu, 17 Jan 2013 19:56:18 +0000 (-0500) Subject: LP #1100914: Input focus for staff client portal should be the text box. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=16fb1b9d1a804335165900eb98cdabdb602644ab;p=working%2FEvergreen.git LP #1100914: Input focus for staff client portal should be the text box. Suggested by a librarian: Save a click by putting the initial focus of the Portal page in the search box. Previously, entering the text box would eliminate the decorative background image; now, pressing on any key while focus in the box will eliminate the text. Signed-off-by: Dan Pearl --- diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml index b0ddccd4b6..324c017ba3 100644 --- a/Open-ILS/xul/staff_client/server/index.xhtml +++ b/Open-ILS/xul/staff_client/server/index.xhtml @@ -81,6 +81,7 @@ //this function will allow for the "Hello, Staff Member" messages function init() { + document.getElementById('quicksearch').focus(); SearchOnBlur(); JSAN.use('OpenILS.data'); var data = new OpenILS.data(); @@ -441,7 +442,7 @@
+ "SearchOnBlur();" onkeydown="SearchOnFocus();" />