543098e8aa4507ea7defda486249c7b59bc49aa6
angie
Thu Apr 14 13:24:18 2016 -0700
Keep forcing hgwdev-demo6 to use dbDbTaxonomy.rr.js (phylo tree of RR species) for testing, but use dbDbTaxonomy.hgwdev.js on other hgwdev* hosts. refs #15277
diff --git src/hg/hgGateway/hgGateway.c src/hg/hgGateway/hgGateway.c
index 99df2e0..1459974 100644
--- src/hg/hgGateway/hgGateway.c
+++ src/hg/hgGateway/hgGateway.c
@@ -263,33 +263,33 @@
puts("");
puts("");
puts("");
puts("");
puts("");
webIncludeResourceFile("jquery-ui.css");
jsIncludeFile("jquery-ui.js", NULL);
jsIncludeFile("jquery.watermarkinput.js", NULL);
jsIncludeFile("utils.js",NULL);
// Phylogenetic tree .js file, produced by dbDbTaxonomy.pl:
char *hostCode = (hIsPrivateHost() || hIsPreviewHost()) ? "hgwdev" : "rr";
-//#*** FOR EVALUATION PERIOD ONLY -- TODO: remove!
+// Keep using dbDbTaxonomy.rr.js on demo6 for testing.
+if (hHostHasPrefix("hgwdev-demo6"))
hostCode = "rr";
-//#*** FOR EVALUATION PERIOD ONLY
printf("\n", hostCode);
// Main JS for hgGateway:
puts("");
webIncludeFile("inc/jWestFooter.html");
webEndJWest();
}
void doMiddle(struct cart *theCart)
/* Depending on invocation, either perform a query and print out results
* or display the main page. */
{