Improved: Hard coded label in ProductUomDropDownOnly (OFBIZ-11891)
The select label is not receiving translations. There are more related issues, but this is independent. Thanks: Alex Bodnaru
This commit is contained in:
@@ -18,7 +18,7 @@ under the License.
|
||||
-->
|
||||
<#if product?? && mainProducts??>
|
||||
<select name="parentProductId" onchange="javascript:displayProductVirtualVariantId(this.value);">
|
||||
<option value="">Select Unit Of Measure</option>
|
||||
<option value="">${uiLabelMap.CommonSelect} ${uiLabelMap.ProductUnitOfMeasure}</option>
|
||||
<#list mainProducts as mainProduct>
|
||||
<option value="${mainProduct.productId}">${mainProduct.uomDesc} : ${mainProduct.piecesIncluded}</option>
|
||||
</#list>
|
||||
|
||||
@@ -293,6 +293,8 @@ under the License.
|
||||
<screen name="ProductUomDropDownOnly">
|
||||
<section>
|
||||
<actions>
|
||||
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<script location="component://order/groovyScripts/entry/catalog/ProductUomDropDownOnly.groovy"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
|
||||
Reference in New Issue
Block a user