Author: apatel
Date: Tue Jun 30 03:29:25 2009
New Revision: 789543

URL: http://svn.apache.org/viewvc?rev=789543&view=rev
Log:
Minor markup fix. Use input of type submit instead of <a> to submit form.

Modified:
    
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl

Modified: 
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl?rev=789543&r1=789542&r2=789543&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl
 (original)
+++ 
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/keywordsearchbox.ftl
 Tue Jun 30 03:29:25 2009
@@ -45,7 +45,7 @@
         <div>
           <input type="radio" name="SEARCH_OPERATOR" value="OR" <#if 
searchOperator == "OR">checked="checked"</#if>/>${uiLabelMap.CommonAny}
           <input type="radio" name="SEARCH_OPERATOR" value="AND" <#if 
searchOperator == "AND">checked="checked"</#if>/>${uiLabelMap.CommonAll}
-          <a href="javascript:document.keywordsearchform.submit()" 
class="button">${uiLabelMap.CommonFind}</a>
+          <input type="submit" value="${uiLabelMap.CommonFind}" 
class="button"/>
         </div>
       </fieldset>
     </form>
@@ -68,7 +68,7 @@
           <input type="hidden" name="SEARCH_CATEGORY_ID" 
value="${searchCategoryId?if_exists}"/>
         </#if>
         <div>
-          <a href="javascript:document.advancedsearchform.submit()" 
class="button">${uiLabelMap.ProductAdvancedSearch}</a>
+          <input type="submit" value="${uiLabelMap.ProductAdvancedSearch}" 
class="button"/>
         </div>
       </fieldset>
     </form>


Reply via email to