Author: erwan
Date: Sat Mar 24 05:42:18 2012 New Revision: 1304713 URL: http://svn.apache.org/viewvc?rev=1304713&view=rev Log: Change misspelled parameter mainSubmited to mainSubmitted - a patch from Markus M. May Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl ofbiz/trunk/specialpurpose/ecommerce/widget/CatalogScreens.xml ofbiz/trunk/specialpurpose/ecommerce/widget/ShoppingListScreens.xml Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl?rev=1304713&r1=1304712&r2=1304713&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/productsummary.ftl Sat Mar 24 05:42:18 2012 @@ -116,7 +116,7 @@ ${virtualJavaScript?if_exists} <input type="hidden" name="add_product_id" value="${product.productId}"/> <input type="text" size="5" name="quantity" value="1"/> <input type="hidden" name="clearSearch" value="N"/> - <input type="hidden" name="mainSubmited" value="Y"/> + <input type="hidden" name="mainSubmitted" value="Y"/> <a href="javascript:document.the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}form.submit()" class="buttontext">${uiLabelMap.OrderAddToCart}</a> <#if mainProducts?has_content> <input type="hidden" name="product_id" value=""/> @@ -138,7 +138,7 @@ ${virtualJavaScript?if_exists} <input type="hidden" name="add_product_id" value="${prodCatMem.productId?if_exists}"/> <input type="hidden" name="quantity" value="${prodCatMem.quantity?if_exists}"/> <input type="hidden" name="clearSearch" value="N"/> - <input type="hidden" name="mainSubmited" value="Y"/> + <input type="hidden" name="mainSubmitted" value="Y"/> <a href="javascript:document.the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}defaultform.submit()" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a> </form> <#assign productCategory = delegator.findByPrimaryKey("ProductCategory", Static["org.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", prodCatMem.productCategoryId))/> @@ -147,7 +147,7 @@ ${virtualJavaScript?if_exists} <input type="hidden" name="add_product_id" value="${prodCatMem.productId?if_exists}"/> <input type="hidden" name="quantity" value="${prodCatMem.quantity?if_exists}"/> <input type="hidden" name="clearSearch" value="N"/> - <input type="hidden" name="mainSubmited" value="Y"/> + <input type="hidden" name="mainSubmitted" value="Y"/> <a href="javascript:document.the${requestAttributes.formNamePrefix?if_exists}${requestAttributes.listIndex?if_exists}defaultform.submit()" class="buttontext">${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}</a> </form> </#if> @@ -221,7 +221,7 @@ ${virtualJavaScript?if_exists} </#if> <form method="post" action="<@ofbizUrl secure="${request.isSecure()?string}">addToCompare</@ofbizUrl>" name="addToCompare${requestAttributes.listIndex?if_exists}form"> <input type="hidden" name="productId" value="${product.productId}"/> - <input type="hidden" name="mainSubmited" value="Y"/> + <input type="hidden" name="mainSubmitted" value="Y"/> </form> <a href="javascript:document.addToCompare${requestAttributes.listIndex?if_exists}form.submit()" class="buttontext">${uiLabelMap.ProductAddToCompare}</a> </div> Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/CatalogScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/CatalogScreens.xml?rev=1304713&r1=1304712&r2=1304713&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/widget/CatalogScreens.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/widget/CatalogScreens.xml Sat Mar 24 05:42:18 2012 @@ -528,7 +528,7 @@ under the License. <screen name="productCategoryList"> <section> <condition> - <if-empty field="parameters.mainSubmited"/> + <if-empty field="parameters.mainSubmitted"/> </condition> <actions> <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/ShoppingListScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/ShoppingListScreens.xml?rev=1304713&r1=1304712&r2=1304713&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/widget/ShoppingListScreens.xml (original) +++ ofbiz/trunk/specialpurpose/ecommerce/widget/ShoppingListScreens.xml Sat Mar 24 05:42:18 2012 @@ -44,7 +44,7 @@ under the License. <screen name="showShoppingList"> <section> <condition> - <if-empty field="parameters.mainSubmited"/> + <if-empty field="parameters.mainSubmitted"/> </condition> <actions> <property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/> |
Free forum by Nabble | Edit this page |