提交 0e845b67 编写于 作者: S Stefan Wolf

[FIXED JENKINS-22583] Use unique id to distinguish between multiple included...

[FIXED JENKINS-22583] Use unique id to distinguish between multiple included instances of the same page.
上级 54c13f14
......@@ -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.
先完成此消息的编辑!
想要评论请 注册