未验证 提交 f340ed7e 编写于 作者: V Vincent Latombe 提交者: GitHub

copyNames has been removed a long time ago, use showCopyOption instead. (#7609)

ComputerSet/new.jelly was still using this deprecated field
上级 ea104912
...@@ -37,7 +37,7 @@ THE SOFTWARE. ...@@ -37,7 +37,7 @@ THE SOFTWARE.
<l:breadcrumb title="${%New node}" /> <l:breadcrumb title="${%New node}" />
<l:main-panel> <l:main-panel>
<j:invokeStatic var="slaves" className="hudson.slaves.NodeDescriptor" method="allInstantiable" /> <j:invokeStatic var="slaves" className="hudson.slaves.NodeDescriptor" method="allInstantiable" />
<n:form title="${%New node}" nameTitle="${%Node name}" copyTitle="${%Copy Existing Node}" copyNames="${it._slaveNames}" <n:form title="${%New node}" nameTitle="${%Node name}" copyTitle="${%Copy Existing Node}" showCopyOption="${!empty(it._slaveNames)}"
descriptors="${slaves}" checkUrl="checkName" xmlns:n="/lib/hudson/newFromList" /> descriptors="${slaves}" checkUrl="checkName" xmlns:n="/lib/hudson/newFromList" />
</l:main-panel> </l:main-panel>
</l:layout> </l:layout>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册