6ff14cbe503f6d3b20d61308887dc91a692ec507
braney
  Wed May 28 09:21:47 2025 -0700
fix some problems with quickLift reported by QA refs #35609

diff --git src/hg/inc/hui.h src/hg/inc/hui.h
index cd3fc4eb004..ece35ee3118 100644
--- src/hg/inc/hui.h
+++ src/hg/inc/hui.h
@@ -1590,16 +1590,18 @@
 
 struct trackDb *tdbOrAncestorByName(struct trackDb *tdb, char *name);
 /* For reasons Angie cannot fathom, if a composite or view is passed to cfgByCfgType then
  * cfgByCfgType passes a leaf subtrack to its callees like bigDbSnpCfgUi.  That is why we
  * see so many calls to isNameAtParentLevel, which returns true if the tdb was originally
  * at the composite or view level, which we can only tell by comparing with the original track name.
  * labelMakeCheckBox, called by many handlers in hgTrackUi that must be always top-level
  * (or have a special handler that bypasses cfgByCfgType like refSeqComposite),
  * is blissfully unaware of this.  It uses the same tdb for looking in cart ClosestToHome
  * and for making the HTML element's cart var name, trusting that the correct tdb has been
  * handed to it.
  * So in order for a callee of cfgByCfgType to call labelMakeCheckBox with the correct tdb,
  * we need to walk back up comparing name like isNameAtParentLevel does.
  * If name doesn't match tdb or any of its ancestors then this returns NULL. */
 
+char *getTrackHtml(char *db, char *trackName);
+/* Grab HTML from trackDb in native database for quickLift tracks. */
 #endif /* HUI_H */