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

Evergreen Git git at git.evergreen-ils.org
Thu Oct 11 11:14:25 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  c533d8d9ead6cdcb32aa0d6e59ed780ae3a1f11b (commit)
      from  032b9e7f47d25f3d2f166dc516b8dfe972249ed4 (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 c533d8d9ead6cdcb32aa0d6e59ed780ae3a1f11b
Author: Michael Peters <mrpeters at library.in.gov>
Date:   Fri Sep 21 11:47:41 2012 -0400

    TPAC: Add a progress spinner after pressing search on Advanced Search
    
    Advanced Search had no indication of progress once you've submitted
    a search. We should add a "progressbar_green.gif" like the basic search
    has, so the user knows their search is in progress, and (hopefully)
    avoids them from hammering submit to get a result.
    
    Signed-off-by: Michael Peters <mrpeters at library.in.gov>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/parts/advanced/search.tt2 b/Open-ILS/src/templates/opac/parts/advanced/search.tt2
index 5af1d2e..e90b6d3 100644
--- a/Open-ILS/src/templates/opac/parts/advanced/search.tt2
+++ b/Open-ILS/src/templates/opac/parts/advanced/search.tt2
@@ -104,7 +104,12 @@
     </tr>
 </table>
 <input type="hidden" name="_adv" value="1" />
-<input type="submit" value="[% l('Search') %]" class='pointer opac-button' />
+           <span>
+            <input id='search-submit-go' type="submit" value="[% l('Search') %]" alt="[% l('Search') %]" class="opac-button"
+                onclick='setTimeout(function(){$("search-submit-spinner").className=""; $("search-submit-go").className="hidden"}, 2000)'/>
+            <img id='search-submit-spinner' src='/opac/images/progressbar_green.gif' style='height:16px;width:16px;' class='hidden' alt=''/>
+          </span>
+
 <a href="[% mkurl(ctx.opac_root _ '/advanced', {$loc_name => loc_value}, 1) %]"
     class="pointer opac-button">[% l('Clear Form') %]</a>
 </form>

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

Summary of changes:
 .../src/templates/opac/parts/advanced/search.tt2   |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list