0018e1b7a8a017e983d2d1d49b663e0ef987c8ef kate Thu Jan 26 15:30:14 2017 -0800 First cut click handler for barChart type tracks. refs #18736 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 20c8590..904caec 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -26441,30 +26441,34 @@ { doGtexGeneExpr(tdb, item); } else if (startsWith("snake", trackHubSkipHubName(table))) { doSnakeClick(tdb, item); } else if (tdb != NULL && startsWithWord("vcfTabix", tdb->type)) { doVcfTabixDetails(tdb, item); } else if (tdb != NULL && startsWithWord("vcf", tdb->type)) { doVcfDetails(tdb, item); } +else if (tdb != NULL && sameWord("barChart", tdb->type)) + { + doBarChartDetails(tdb, item); + } else if (tdb != NULL) { genericClickHandler(tdb, item, NULL); } else { cartWebStart(cart, database, "%s", track); warn("Sorry, clicking there doesn't do anything yet (%s).", track); } /* End of 1000+ line dispatch on table involving 100+ if/elses. */ cartHtmlEnd(); } struct hash *orgDbHash = NULL;