Author: ashish
Date: Thu Feb 25 11:24:42 2010
New Revision: 916252
URL:
http://svn.apache.org/viewvc?rev=916252&view=revLog:
Applied patch from jira issue OFBIZ-3436 delete of Price Rule does not work.
Thanks Eric Lofstad for the contribution.
Modified:
ofbiz/trunk/applications/product/webapp/catalog/price/EditProductPriceRules.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/price/EditProductPriceRules.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/price/EditProductPriceRules.ftl?rev=916252&r1=916251&r2=916252&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/price/EditProductPriceRules.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/price/EditProductPriceRules.ftl Thu Feb 25 11:24:42 2010
@@ -53,8 +53,10 @@
</td>
<td align="center">
<#if !productPriceConds?has_content && !productPriceActions?has_content>
- <a href="<@ofbizUrl>deleteProductPriceRule?productPriceRuleId=${productPriceRule.productPriceRuleId}</@ofbizUrl>" class="buttontext">
- ${uiLabelMap.CommonDelete}</a>
+ <form method="post" action="<@ofbizUrl>deleteProductPriceRule</@ofbizUrl>" name="deleteProductPriceRule">
+ <input type="hidden" name="productPriceRuleId" value="${productPriceRule.productPriceRuleId}">
+ <input type="submit" value="${uiLabelMap.CommonDelete}">
+ </form>
</#if>
</td>
</tr>