From 3345bd107dde19fecd943745f867b48bbce0b5a6 Mon Sep 17 00:00:00 2001 From: berick Date: Wed, 13 Apr 2011 11:24:07 -0400 Subject: [PATCH] particularly for running the catalog embedded in the staff client, which makes no visual indication of page progress, it's good to let the caller know something is happening w/ a search. after a 1-second search delay, show a small progress spinny icon --- Open-ILS/web/templates/default/opac/parts/searchbar.tt2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 b/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 index 158a93f753..b99a3e2de0 100644 --- a/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 @@ -35,9 +35,11 @@
- + onmouseout="this.src='[% ctx.media_prefix %]/images/go-btn.png';" + onclick='setTimeout(function(){$("search-submit-spinner").className=""; $("search-submit-go").className="hidden"}, 1000)'/> +
-- 2.11.0