The priority drop down on order detail page was not showing selected value.

Fix provided by Amit Sharma and patch applied from OFBIZ-2961 (https://issues.apache.org/jira/browse/OFBIZ-2961)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818066 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vikas Mayur
2009-09-23 11:35:36 +00:00
parent 98264a278c
commit afc07559bf
@@ -237,9 +237,9 @@ under the License.
<td width="5%">&nbsp;</td>
<td valign="top" width="80%">
<select name="priority">
<option value="1">${uiLabelMap.CommonHigh}</option>
<option value="2"selected>${uiLabelMap.CommonNormal}</option>
<option value="3">${uiLabelMap.CommonLow}</option>
<option value="1" <#if (orderHeader.priority)?if_exists == "1">selected="selected" </#if>>${uiLabelMap.CommonHigh}</option>
<option value="2" <#if (orderHeader.priority)?if_exists == "2">selected="selected" <#elseif !(orderHeader.priority)?has_content>selected="selected"</#if>>${uiLabelMap.CommonNormal}</option>
<option value="3" <#if (orderHeader.priority)?if_exists == "3">selected="selected" </#if>>${uiLabelMap.CommonLow}</option>
</select>
<input type="submit" class="smallSubmit" value="${uiLabelMap.FormFieldTitle_reserveInventory}"/>
</td>