4c4ae598f12f60f9281cb81b34f81d802beb0744
braney
  Mon Apr 22 11:25:53 2024 -0700
it turns out that initTrackList() gets called twice if a nextItem arrow
is pressed.  Probably there are other bugs because of this, but this
fixes one of them.

diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h
index 045332c..974707e 100644
--- src/hg/inc/trackHub.h
+++ src/hg/inc/trackHub.h
@@ -227,17 +227,20 @@
 struct dbDb *trackHubGetPcrServers();
 /* Look through attached trackHubs to see which of them have "isPcr" line in them. */
 
 boolean trackHubGetPcrParams(char *database, char **pHost, char **pPort, char **pGenomeDataDir);
 /* Get the isPcr params from a trackHub genome. */
 
 struct trackHubGenome *trackHubGetGenomeUndecorated(char *database);
 /* Get the genome structure for an undecorated genome name. */
 
 char *trackHubBuild(char *db, struct cart *cart, struct dyString *visDy);
 /* Build a track hub using trackDb and the cart. */
 
 struct grp *trackHubGetGrps();
 /* Get the groups defined by attached track hubs. */
 
+struct grp *trackHubResetGrps();
+/* Get the groups defined by attached track hubs. */
+
 #endif /* TRACKHUB_H */