src/hg/hgGene/microarray.c 1.18

1.18 2010/04/15 00:05:26 aamp
RT #1632: On the hgGene page, when the user edits the "Microarray Expression Data" to switch it from displaying red/green to displaying yellow-blue and presses the submit button, the page should redraw and remain at the "#microarray" anchor. Instead it pops back up to the top of the page. -- should be fixed.
Index: src/hg/hgGene/microarray.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/microarray.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -b -B -U 4 -r1.17 -r1.18
--- src/hg/hgGene/microarray.c	27 Sep 2009 04:45:41 -0000	1.17
+++ src/hg/hgGene/microarray.c	15 Apr 2010 00:05:26 -0000	1.18
@@ -369,9 +369,9 @@
 {
 struct expColumn *colList = section->items, *col;
 boolean useBlue = hgExpRatioUseBlue(cart, hggExpRatioColors);
 
-hPrintf("<FORM ACTION=\"../cgi-bin/hgGene\" METHOD=GET>\n");
+hPrintf("<FORM ACTION=\"../cgi-bin/hgGene#%s\" METHOD=GET>\n", section->name);
 cartSaveSession(cart);
 hPrintf("Expression ratio colors: ");
 hgExpColorDropDown(cart, hggExpRatioColors);
 cgiMakeButton("submit", "Submit");