particularly for running the catalog embedded in the staff client, which makes no...
authorberick <berick@esilibrary.com>
Wed, 13 Apr 2011 15:24:07 +0000 (11:24 -0400)
committerberick <berick@esilibrary.com>
Wed, 13 Apr 2011 15:24:07 +0000 (11:24 -0400)
Open-ILS/web/templates/default/opac/parts/searchbar.tt2

index 158a93f..b99a3e2 100644 (file)
             <td valign="top">
                 <div class="pos-abs">
                     <div class="opac-auto-143">
-                        <input type="image" alt="[% l('Search') %]" src="[% ctx.media_prefix %]/images/go-btn.png"
+                        <input id='search-submit-go' type="image" alt="[% l('Search') %]" src="[% ctx.media_prefix %]/images/go-btn.png"
                             onmouseover="this.src='[% ctx.media_prefix %]/images/go-btn-hover.png';"
-                            onmouseout="this.src='[% ctx.media_prefix %]/images/go-btn.png';" />
+                            onmouseout="this.src='[% ctx.media_prefix %]/images/go-btn.png';" 
+                            onclick='setTimeout(function(){$("search-submit-spinner").className=""; $("search-submit-go").className="hidden"}, 1000)'/>
+                        <img id='search-submit-spinner' src='/opac/images/progressbar_green.gif' style='height:16px;width:16px;' class='hidden'/>
                     </div>
                 </div>
             </td>