src/hg/hgTables/mainPage.c 1.152

1.152 2010/05/24 18:42:37 bristor
Cause Galaxy and GREAT checkboxes to preserve state across filtering, intersecting, etc.
Index: src/hg/hgTables/mainPage.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/mainPage.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -b -B -U 4 -r1.151 -r1.152
--- src/hg/hgTables/mainPage.c	19 May 2010 01:37:13 -0000	1.151
+++ src/hg/hgTables/mainPage.c	24 May 2010 18:42:37 -0000	1.152
@@ -440,14 +440,14 @@
     }
 hPrintf("</SELECT>\n");
 hPrintf(" ");
 hPrintf(" Send output to ");
-cgiMakeCheckBoxIdAndJS("sendToGalaxy", FALSE,
+cgiMakeCheckBoxIdAndJS("sendToGalaxy", doGalaxy(),
     "checkboxGalaxy",
     "onclick=\"document.getElementById('checkboxGreat').checked=false; return true;\"");
 hPrintf("<A HREF=\"http://g2.bx.psu.edu\" target=_BLANK>Galaxy</A>\n");
 nbSpaces(2);
-cgiMakeCheckBoxIdAndJS("sendToGreat", FALSE,
+cgiMakeCheckBoxIdAndJS("sendToGreat", doGreat(),
     "checkboxGreat",
     "onclick=\"return onSelectGreat();\"");
 hPrintf(" <A HREF=\"http://great.stanford.edu/help/index.php/Main_Page\" target=_BLANK>GREAT</A>");
 hPrintf("</TD></TR>\n");