提交 286e3261 编写于 作者: K kohsuke

IE7 seems to require the presence of the value attribute, despite the fact...

IE7 seems to require the presence of the value attribute, despite the fact that HTML 4.0 spec says @value is optional and it defaults to the content of <option>.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6680 71c3de6d-444a-0410-be80-ed276b4c234a
上级 804c19ec
......@@ -2,9 +2,9 @@
<j:if test="${!empty(descriptor.installations)}">
<f:entry title="Ant Version">
<select class="setting-input" name="ant.antName">
<option>(Default)</option>
<option value="(Default)">(Default)</option>
<j:forEach var="inst" items="${descriptor.installations}">
<f:option selected="${inst.name==instance.ant.name}">${inst.name}</f:option>
<f:option selected="${inst.name==instance.ant.name}" value="${inst.name}">${inst.name}</f:option>
</j:forEach>
</select>
</f:entry>
......
......@@ -2,9 +2,9 @@
<j:if test="${!empty(descriptor.installations)}">
<f:entry title="Maven Version">
<select class="setting-input" name="maven.name">
<option>(Default)</option>
<option value="(Default)">(Default)</option>
<j:forEach var="inst" items="${descriptor.installations}">
<f:option selected="${inst.name==instance.maven.name}">${inst.name}</f:option>
<f:option selected="${inst.name==instance.maven.name}" value="${inst.name}">${inst.name}</f:option>
</j:forEach>
</select>
</f:entry>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册