[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. e30193d1712cbb6f4ebb17d71d00a0b5e1eb3b10
Evergreen Git
git at git.evergreen-ils.org
Thu Oct 11 11:15:21 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, rel_2_3 has been updated
via e30193d1712cbb6f4ebb17d71d00a0b5e1eb3b10 (commit)
from aedb6254511dbb6656a1dceafe8085c8b4cec010 (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 e30193d1712cbb6f4ebb17d71d00a0b5e1eb3b10
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