提交 6f6dce4b 编写于 作者: S Stephen Connolly

[FIXED JENKINS-22570] On a configure screen that has multiple groups of radio...

[FIXED JENKINS-22570] On a configure screen that has multiple groups of radio buttons, clicking the apply button clears all but the last radio group selection

- Always run git status before and after you commit, just in case there are changes you made since your last call to git add

- At least the integration test cases caught this one though
上级 88d84f6e
...@@ -1865,13 +1865,14 @@ function buildFormTree(form) { ...@@ -1865,13 +1865,14 @@ function buildFormTree(form) {
r=0; r=0;
while (e.name.substring(r,r+8)=='removeme') while (e.name.substring(r,r+8)=='removeme')
r = e.name.indexOf('_',r+8)+1; r = e.name.indexOf('_',r+8)+1;
p = findParent(e);
if(e.groupingNode) { if(e.groupingNode) {
p = findParent(e);
addProperty(p, e.name.substring(r), e.formDom = { value: e.value }); addProperty(p, e.name.substring(r), e.formDom = { value: e.value });
break; } else {
addProperty(p, e.name.substring(r), e.value);
} }
break;
// otherwise fall through
default: default:
p = findParent(e); p = findParent(e);
addProperty(p, e.name, e.value); addProperty(p, e.name, e.value);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册