未验证 提交 c6a4fc9a 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #3672 from dwnusbaum/JENKINS-48516

[JENKINS-48516] Uniquify radio button names before setting initial visibility
......@@ -186,7 +186,8 @@ Behaviour.specify("INPUT.repeatable-delete", 'repeatable', 0, function(e) {
});
// radio buttons in repeatable content
Behaviour.specify("DIV.repeated-chunk", 'repeatable', 0, function(d) {
// Needs to run before the radioBlock behavior so that names are already unique.
Behaviour.specify("DIV.repeated-chunk", 'repeatable', -200, function(d) {
var inputs = d.getElementsByTagName('INPUT');
for (var i = 0; i < inputs.length; i++) {
if (inputs[i].type == 'radio') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册