Author: jacopoc
Date: Wed Jun 15 13:58:21 2011
New Revision: 1136049
URL:
http://svn.apache.org/viewvc?rev=1136049&view=revLog:
Backported from 1136047: OFBIZ-2330 Converted "Delete Bin" link into an hidden form to avoid security error.
Modified:
ofbiz/branches/release10.04/applications/product/webapp/facility/facility/PicklistManage.ftl
Modified: ofbiz/branches/release10.04/applications/product/webapp/facility/facility/PicklistManage.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/webapp/facility/facility/PicklistManage.ftl?rev=1136049&r1=1136048&r2=1136049&view=diff==============================================================================
--- ofbiz/branches/release10.04/applications/product/webapp/facility/facility/PicklistManage.ftl (original)
+++ ofbiz/branches/release10.04/applications/product/webapp/facility/facility/PicklistManage.ftl Wed Jun 15 13:58:21 2011
@@ -97,7 +97,11 @@ under the License.
<span class="label">${uiLabelMap.ProductBinNum}</span> ${picklistBinInfo.picklistBin.binLocationNumber} (${picklistBinInfo.picklistBin.picklistBinId})
<#if picklistBinInfo.primaryOrderHeader?exists><span class="label">${uiLabelMap.ProductPrimaryOrderId}</span> ${picklistBinInfo.primaryOrderHeader.orderId}</#if>
<#if picklistBinInfo.primaryOrderItemShipGroup?exists><span class="label">${uiLabelMap.ProductPrimaryShipGroupSeqId}</span> ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId}</#if>
- <#if !picklistBinInfo.picklistItemInfoList?has_content><a href="<@ofbizUrl>deletePicklistBin?picklistBinId=${picklistBinInfo.picklistBin.picklistBinId}&facilityId=${facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a></#if>
+ <#if !picklistBinInfo.picklistItemInfoList?has_content><a href="javascript:document.DeletePicklistBin_${picklistInfo_index}_${picklistBinInfo_index}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a></#if>
+ <form name="DeletePicklistBin_${picklistInfo_index}_${picklistBinInfo_index}" method="post" action="<@ofbizUrl>deletePicklistBin</@ofbizUrl>">
+ <input type="hidden" name="picklistBinId" value="${picklistBinInfo.picklistBin.picklistBinId}"/>
+ <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/>
+ </form>
</div>
<div style="margin-left: 30px;">
<span class="label">${uiLabelMap.CommonUpdate} ${uiLabelMap.ProductBinNum}</span>