Author: mor
Date: Sat Apr 18 12:08:46 2009
New Revision: 766307
URL:
http://svn.apache.org/viewvc?rev=766307&view=revLog:
Fix: In Facility, Picking screen group link was not working. Patch from Arun Patidar, part of OFBIZ-2320 (
https://issues.apache.org/jira/browse/OFBIZ-2320)
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl
Modified: ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl?rev=766307&r1=766306&r2=766307&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl Sat Apr 18 12:08:46 2009
@@ -98,7 +98,7 @@
<#assign seq = seq + 1>
<tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
<td>
- <form name= "viewGroupDetail" action ="<@ofbizUrl>PicklistOptions</@ofbizUrl>" method="post">
+ <form name= "viewGroupDetail_${seq}" action ="<@ofbizUrl>PicklistOptions</@ofbizUrl>" method="post">
<input type ="hidden" name="viewDetail" value= "${groupName?if_exists}"/>
<input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/>
<input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/>
@@ -107,13 +107,13 @@
<table>
<tr>
<#if groupName1?has_content>
- <td><a id="one" href="javascript:document.viewGroupDetail.submit()" class="buttontext">${groupName1}</a></td>
+ <td><a href="javascript:document.viewGroupDetail_${seq}.submit()" class="buttontext">${groupName1}</a></td>
</#if>
<#if groupName2?has_content>
- <td><a id="two" href="javascript:document.viewGroupDetail.submit()" class="buttontext">${groupName2}</a></td>
+ <td><a href="javascript:document.viewGroupDetail_${seq}.submit()" class="buttontext">${groupName2}</a></td>
</#if>
<#if groupName3?has_content>
- <td><a id="three" href="javascript:document.viewGroupDetail.submit()" class="buttontext">${groupName3}</a></td>
+ <td><a href="javascript:document.viewGroupDetail_${seq}.submit()" class="buttontext">${groupName3}</a></td>
</#if>
</tr>
</table>