svn commit: r944703 - /ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r944703 - /ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl

jleroux@apache.org
Author: jleroux
Date: Sat May 15 19:33:02 2010
New Revision: 944703

URL: http://svn.apache.org/viewvc?rev=944703&view=rev
Log:
A patch from Rohit Jain "Catalog manager's keyword search box should submited on hitting Enter key" https://issues.apache.org/jira/browse/OFBIZ-3664 - OFBIZ-3664

For getting improvement point click on following link
https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=flexadmin&PASSWORD=ofbiz&JavaScriptEnabled=Y
Now enter something in Search Product section in Keyword search box and then press Enter key
there is nothing happens.
while IMO it should submit form and show the search result.

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl?rev=944703&r1=944702&r2=944703&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl Sat May 15 19:33:02 2010
@@ -52,7 +52,7 @@ under the License.
       <input type="radio" name="SEARCH_OPERATOR" id="keywordSearchOperatorAnd" value="AND" <#if requestParameters.SEARCH_OPERATOR?if_exists == "AND">checked="checked"</#if> />
     </div>
     <div>
-      <a href="javascript:$('keywordSearchForm').submit()" class="buttontext">${uiLabelMap.CommonFind}</a>
+      <input type="submit" name="find" value="${uiLabelMap.CommonFind}" class="buttontext" />
     </div>
     </fieldset>
 </form>