src/hg/js/hui.js 1.46
1.46 2009/12/11 23:08:06 tdreszer
Really fixed.
Index: src/hg/js/hui.js
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/js/hui.js,v
retrieving revision 1.45
retrieving revision 1.46
diff -b -B -U 4 -r1.45 -r1.46
--- src/hg/js/hui.js 11 Dec 2009 22:55:27 -0000 1.45
+++ src/hg/js/hui.js 11 Dec 2009 23:08:06 -0000 1.46
@@ -458,10 +458,11 @@
$(list).attr("checked",$(inp).attr("checked"));
}
else if(inp.type.indexOf("radio") == 0) {
var list = $("input:radio[name$='"+suffix+"']").not("[name='"+inp.name+"']");
+ list = $(list).filter("[value='"+inp.value+"']")
if($(list).length>0)
- $(list).attr("checked",$(inp).attr("checked"));
+ $(list).attr("checked",true);
}
else { // Various types of inputs
var list = $("input[name$='"+suffix+"']").not("[name='"+inp.name+"']");//.not("[name^='boolshad.']"); // Exclude self from list
if($(list).length>0)