Index: src/hg/lib/hui.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hui.c,v
retrieving revision 1.255
retrieving revision 1.256
diff -b -B -U 4 -r1.255 -r1.256
--- src/hg/lib/hui.c	27 Jan 2010 21:44:12 -0000	1.255
+++ src/hg/lib/hui.c	5 Feb 2010 18:55:25 -0000	1.256
@@ -4677,8 +4678,12 @@
 	}
     cgiMakeDropList(SPECIES_CODON_DEFAULT, nodeNames, i,
 	cartUsualString(cart, SPECIES_CODON_DEFAULT, defaultCodonSpecies));
     puts("<br>");
+    char *viewString;
+    if (subgroupFind(tdb, "view", &viewString))
+	safef(buffer, sizeof(buffer), "%s.%s.codons",name, viewString);
+    else
     safef(buffer, sizeof(buffer), "%s.codons",name);
     cartMakeRadioButton(cart, buffer,"codonNone", "codonDefault");
     printf("No codon translation<BR>");
     cartMakeRadioButton(cart, buffer,"codonDefault", "codonDefault");

