7dffd035095eda20f701c3342489b7efbae806fc
larrym
  Wed Oct 20 09:59:37 2010 -0700
fix getAllVars to handle radio buttons
diff --git src/hg/js/utils.js src/hg/js/utils.js
index d804eeb..d0520d8 100644
--- src/hg/js/utils.js
+++ src/hg/js/utils.js
@@ -520,6 +520,10 @@
         if($(this).attr('type') == 'checkbox') {
             name = cgiBooleanShadowPrefix() + name;
             val = $(this).attr('checked') ? 1 : 0;
+        } else if($(this).attr('type') == 'radio') {
+            if(!$(this).attr('checked')) {
+                name = undefined;
+            }
         }
         if(name != undefined && name != "Submit" && val != undefined) {
             urlData[name] = val;