Author: jleroux
Date: Sun Aug 22 00:27:09 2010
New Revision: 987841
URL:
http://svn.apache.org/viewvc?rev=987841&view=revLog:
A patch from Rene Scheibe "Facility Manager: "Default Weight Unit" is not shown correctly"
https://issues.apache.org/jira/browse/OFBIZ-3893) - OFBIZ-3893
page: Looking at
https://127.0.0.1:8443/facility/control/UpdateFacilityThe "Default Weight Unit" is not shown correctly. It is always showing "none".
This was not fixed correctly in rev 931700. Just added selected="selected".
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/EditFacility.ftl
Modified: ofbiz/trunk/applications/product/webapp/facility/facility/EditFacility.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/EditFacility.ftl?rev=987841&r1=987840&r2=987841&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/EditFacility.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/EditFacility.ftl Sun Aug 22 00:27:09 2010
@@ -67,8 +67,7 @@ under the License.
<#list weightUomList as uom>
<option value='${uom.uomId}'
<#if (facility.defaultWeightUomId?has_content) && (uom.uomId == facility.defaultWeightUomId)>
-
-
+ selected="selected"
</#if>
>${uom.get("description",locale)?default(uom.uomId)}</option>
</#list>
@@ -89,7 +88,6 @@ under the License.
</select>
</td>
</tr>
-
<tr>
<td class="label">${uiLabelMap.ProductName}</td>
<td><input type="text" name="facilityName" value="${facility.facilityName?if_exists}" size="30" maxlength="60" /></td>
@@ -121,7 +119,6 @@ under the License.
<td class="label">${uiLabelMap.ProductDefaultDaysToShip}</td>
<td><input type="text" name="defaultDaysToShip" value="${facility.defaultDaysToShip?if_exists}" size="10" maxlength="20" /></td>
</tr>
-
<tr>
<td> </td>
<#if facilityId?has_content>