提交 0faa7b7d 编写于 作者: J Jesse Glick

Merge branch 'hetero-radio' of github.com:wolfs/jenkins

[JENKINS-22583] Noting merge of #1182.
Conflicts:
	changelog.html
......@@ -58,6 +58,9 @@ Upcoming changes</a>
<li class=bug>
More efficient deletion of old builds (specified by date).
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-22607">issue 22607</a>)
<li class=bug>
Fix a bug which only showed the first detail part for radio buttons.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-22583">issue 22583</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -40,8 +40,9 @@ THE SOFTWARE.
<table style="width:100%">
<j:set var="currentInstance" value="${instance[field]}" />
<j:set var="currentDescriptor" value="${currentInstance.descriptor}" />
<j:set var="uniqueId" value="${h.generateId()}" />
<j:forEach var="d" items="${descriptors}" varStatus="loop">
<f:radioBlock name="${field}" help="${d.helpFile}" value="${loop.index}"
<f:radioBlock name="${uniqueId}.${field}" help="${d.helpFile}" value="${loop.index}"
title="${d.displayName}" checked="${currentDescriptor==d}">
<j:set var="descriptor" value="${d}" />
<j:set var="instance" value="${currentDescriptor==d?currentInstance:null}" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册