You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/10/08 15:24:40 UTC
svn commit: r823165 -
/ofbiz/trunk/applications/product/webapp/facility/facility/EditFacilityLocation.ftl
Author: ashish
Date: Thu Oct 8 13:24:39 2009
New Revision: 823165
URL: http://svn.apache.org/viewvc?rev=823165&view=rev
Log:
Applied patch from jira issue OFBIZ-3008 - Delete link is not working on Edit Facility Location screen.
Thanks Akash for the contribution.
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/EditFacilityLocation.ftl
Modified: ofbiz/trunk/applications/product/webapp/facility/facility/EditFacilityLocation.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/EditFacilityLocation.ftl?rev=823165&r1=823164&r2=823165&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/EditFacilityLocation.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/EditFacilityLocation.ftl Thu Oct 8 13:24:39 2009
@@ -114,14 +114,14 @@
<tr>
<td><#if product?exists>${(product.internalName)?if_exists}</#if>[${productFacilityLocation.productId}]</td>
<td>
- <form method="post" action="<@o...@ofbizUrl>" name="lineForm${productFacilityLocation_index}">
+ <form method="post" action="<@o...@ofbizUrl>" id="lineForm${productFacilityLocation_index}">
<input type="hidden" name="productId" value="${(productFacilityLocation.productId)?if_exists}"/>
<input type="hidden" name="facilityId" value="${(productFacilityLocation.facilityId)?if_exists}"/>
<input type="hidden" name="locationSeqId" value="${(productFacilityLocation.locationSeqId)?if_exists}"/>
<input type="text" size="10" name="minimumStock" value="${(productFacilityLocation.minimumStock)?if_exists}"/>
<input type="text" size="10" name="moveQuantity" value="${(productFacilityLocation.moveQuantity)?if_exists}"/>
<input type="submit" value="${uiLabelMap.CommonUpdate}"/>
- <a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a>
+ <a href="javascript:$('lineForm${productFacilityLocation_index}').action='<@o...@ofbizUrl>';$('lineForm${productFacilityLocation_index}').submit();" class="buttontext">${uiLabelMap.CommonDelete}</a>
</form>
</td>
</tr>