Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kml27 committed Sep 18, 2018
1 parent ab5adef commit 0387da7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,11 @@ function setMemberByType(src, dest, control)

//for radios, the onchange event is on the parent fieldset
if(control.type!=undefined && control.type=="radio"){
var parentFieldset = getFieldsetsWithRadios(control);
parentFieldset.onchange();
var parentFieldset = getFieldsetsWithRadios(control)[0];

if(parentFieldset.onchange){
parentFieldset.onchange();
}
}

}
Expand Down

0 comments on commit 0387da7

Please sign in to comment.