Skip to content
Permalink
Browse files
[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
  • Loading branch information
stephenc committed Apr 10, 2014
1 parent 88d84f6 commit 6f6dce4bef25846d6efcbf75e1a3aa50bbe77d77
Showing with 4 additions and 3 deletions.
  1. +4 −3 war/src/main/webapp/scripts/hudson-behavior.js
@@ -1865,13 +1865,14 @@ function buildFormTree(form) {
r=0;
while (e.name.substring(r,r+8)=='removeme')
r = e.name.indexOf('_',r+8)+1;
p = findParent(e);
if(e.groupingNode) {
p = findParent(e);
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:
p = findParent(e);
addProperty(p, e.name, e.value);

0 comments on commit 6f6dce4

Please sign in to comment.