You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/09/04 20:11:46 UTC
svn commit: r811506 -
/ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl
Author: jleroux
Date: Fri Sep 4 18:11:45 2009
New Revision: 811506
URL: http://svn.apache.org/viewvc?rev=811506&view=rev
Log:
I got caught by this one, now I'm sure that even with trailing blanks it will work
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=811506&r1=811505&r2=811506&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl Fri Sep 4 18:11:45 2009
@@ -25,7 +25,9 @@
document.forms["advancedsearchform"].elements["SEARCH_CATEGORY_ID"].value=document.forms["advancedsearchform"].elements["DUMMYCAT"].value;
}
function submitProductJump() {
- document.forms["productjumpform"].action=document.forms["productjumpform"].elements["DUMMYPAGE"].value;
+ productId = document.forms["productjumpform"].elements["productId"].value;
+ document.forms["productjumpform"].elements["productId"].value = productId.replace(" ","");
+ document.forms["productjumpform"].action = document.forms["productjumpform"].elements["DUMMYPAGE"].value;
document.forms["productjumpform"].submit();
}
//-->