TPAC: href not valid on 'button' tags
authorDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 21:00:29 +0000 (17:00 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 25 Sep 2013 23:56:56 +0000 (19:56 -0400)
The 'Clear Form' button was moved to a button tag, which solved a
display issue but didn't actually clear the form.  Let's make it
an <a> again.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/advanced/search.tt2

index d41c7e1..42e5cfc 100644 (file)
@@ -38,8 +38,8 @@
             <img id='search-submit-spinner' src='/opac/images/progressbar_green.gif' class='hidden' alt=''/>
         </span>
 
-        <button href="[% mkurl(ctx.opac_root _ '/advanced', {$loc_name => loc_value}, 1) %]"
-            class="pointer opac-button">[% l('Clear Form') %]</button>
+        <a href="[% mkurl(ctx.opac_root _ '/advanced', {$loc_name => loc_value}, 1) %]"
+            class="opac-button">[% l('Clear Form') %]</a>
     </div>
 
     <div id='adv_search_filters'>