[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2bebbd99cf600d57ca6e8513dd833fc5e52461e2

Evergreen Git git at git.evergreen-ils.org
Tue Mar 20 15:59:54 EDT 2012


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  2bebbd99cf600d57ca6e8513dd833fc5e52461e2 (commit)
      from  481d021010d2f442ff2b18b40f877797c5aaf567 (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 2bebbd99cf600d57ca6e8513dd833fc5e52461e2
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Tue Mar 13 11:21:59 2012 -0400

    AutoSuggest: don't force-scroll browser; that's irritating
    
    By default, Dijits and things that inherit from Dijits (at least in
    Dojo 1.3.3 that we're still using), have a true value for an attribute
    called scrollOnFocus.  This makes your browser jump to ensure that the
    widget that just received focus is in view.
    
    You don't always want this though.  Try expanding the extras on the
    record detail page of the TPAC without this commit, but with AutoSuggest
    enabled, for example.
    
    This commit sets the scrollOnFocus attribute to false for the
    AutoSuggest widget.
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js b/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js
index e145c2d..8192751 100644
--- a/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js
+++ b/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js
@@ -52,6 +52,7 @@ if (!dojo._hasResource["openils.widget.AutoSuggest"]) {
     dojo.declare(
         "openils.widget.AutoSuggest", [dijit.form.ComboBox], {
 
+            "scrollOnFocus": false,
             "labelAttr": "match",
             "labelType": "html",
             "searchAttr": "term",

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

Summary of changes:
 Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list