[open-ils-commits] [GIT] Evergreen ILS branch master updated. 83620c60d631e488ed453b255228c324ea1104b4

Evergreen Git git at git.evergreen-ils.org
Fri Feb 1 12:17:25 EST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  83620c60d631e488ed453b255228c324ea1104b4 (commit)
      from  9ee59172f7353f102244fd3d4153875c6a65163d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 83620c60d631e488ed453b255228c324ea1104b4
Author: Dan Pearl <dpearl at cwmars.org>
Date:   Thu Jan 17 14:56:18 2013 -0500

    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 <dpearl at cwmars.org>
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml
index b0ddccd..324c017 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 @@
               <td colspan="2" rowspan="1">
                 <form action="#" onsubmit="return SearchOnSubmit();">
                   <input id="quicksearch" onfocus="SearchOnFocus();" onblur=
-                  "SearchOnBlur();" /> <input value="Search" type="submit" />
+                  "SearchOnBlur();" onkeydown="SearchOnFocus();" /> <input value="Search" type="submit" />
                 </form>
               </td>
             </tr>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/index.xhtml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list