Author: ashish
Date: Tue Jul 28 09:04:09 2009
New Revision: 798454
URL:
http://svn.apache.org/viewvc?rev=798454&view=revLog:
Minor Fix.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy?rev=798454&r1=798453&r2=798454&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy Tue Jul 28 09:04:09 2009
@@ -188,7 +188,7 @@
if (variantTree && imageMap) {
jsBuf = new StringBuffer();
- jsBuf.append("<script language=\"JavaScript\">");
+ jsBuf.append("<script language=\"JavaScript\" type=\"text/javascript\">");
jsBuf.append("var DET" + inlineCounter + "= new Array(" + variantTree.size() + ");");
jsBuf.append("var IMG" + inlineCounter + " = new Array(" + variantTree.size() + ");");
jsBuf.append("var OPT" + inlineCounter + " = new Array(" + featureOrder.size() + ");");
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy?rev=798454&r1=798453&r2=798454&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy Tue Jul 28 09:04:09 2009
@@ -261,7 +261,7 @@
if (variantTree && imageMap) {
jsBuf = new StringBuffer();
- jsBuf.append("<script language=\"JavaScript\">");
+ jsBuf.append("<script language=\"JavaScript\" type=\"text/javascript\">");
jsBuf.append("var DET = new Array(" + variantTree.size() + ");");
jsBuf.append("var IMG = new Array(" + variantTree.size() + ");");
jsBuf.append("var OPT = new Array(" + featureOrder.size() + ");");