75cea815b1b7fc9619dc22a4611194e925836c21
angie
  Mon Jun 24 10:46:20 2013 -0700
Fixing my harebrained JS that caused IE 9/10 to never successfully submit the form, as reported by Brooke in #6152 note 67.refs #6152

diff --git src/hg/hgVai/hgVai.c src/hg/hgVai/hgVai.c
index 659f0b6..6f63850 100644
--- src/hg/hgVai/hgVai.c
+++ src/hg/hgVai/hgVai.c
@@ -772,31 +772,31 @@
 puts("<div class='warn-note' style='border: 2px solid #9e5900; padding: 5px 20px; background-color: #ffe9cc;'>");
 puts("<p><span style='font-weight: bold; color: #c70000;'>NOTE:</span><br>");
 if (hIsPrivateHost())
     puts("<span style='font-weight: bold; color: #c70000;'>THIS IS UNTESTED SOFTWARE. "
 	 "We are still working out the bugs. Feel free to play with this and tell us "
 	 "about the bugs, but treat results with extra skepticism.</span><br>");
 puts("This tool is for research use only. While this tool is open to the "
      "public, users seeking information about a personal medical or genetic "
      "condition are urged to consult with a qualified physician for "
      "diagnosis and for answers to personal questions.");
 puts("</p></div><BR>");
 printf("&nbsp;<img id='loadingImg' src='../images/loading.gif' />\n");
 printf("<span id='loadingMsg'></span>\n");
 cgiMakeButtonWithOnClick("startQuery", "Go!",
 			 "get the results of your query",
-			 "loadingImage.run(); $('#mainForm').submit();");
+			 "loadingImage.run(); return true;");
 }
 
 /*
  * When user clicks submit, we need to roll a JSON querySpec from form selections,
  * and show data from a submission to hgAnnoGrator.  redirect from this CGI?
  * or have javascript submit directly?
  * * primary: variants, from custom track
  * * if there are genes, those w/annoGratorGpVar
  * * if there are {dbSNP, dbNsfp, regulatory, cons} selections, grator for each of those
  * * vep output config
  *
  * If we get bold & offer 1000Genomes VCF, will def. need handling of split chroms.
  * Are we really going to offer genome-wide in hgVai?
  * Up-front limit on #rows of input ?
  *