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

(cherry picked from commit 6f6dce4)
  • Loading branch information
stephenc authored and olivergondza committed May 5, 2014
1 parent 1da70d3 commit 1335246fdf39c8d5f92974c508a26bbe94be32d4
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 1335246

Please sign in to comment.