bb2ae39fd12b2df4ec06b435e63f69da6097e21e kate Tue May 5 14:38:24 2020 -0700 Add link to super-track HTML from supertrack member description collapsible panel. By request of Lou. refs #24668 diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c index e93ee24..3466481 100644 --- src/hg/hgTrackUi/hgTrackUi.c +++ src/hg/hgTrackUi/hgTrackUi.c @@ -3212,31 +3212,34 @@ // remove Description header html = replaceChars(html, "

Description

", ""); html = replaceChars(html, "

Description

", ""); html = replaceChars(html, "

Description

", ""); // remove everything after Description text char *end = stringIn("

", html); if (!end) end = stringIn("

", html); if (!end) end = stringIn("

", html); if (end) *end = '\0'; printf("%s", html); - printf("

To view the full description of this super-track, click the link above.\n"); + printf("

To view the full description of this super-track, click " + "here.\n", + hgTrackUiName(), cartSessionVarName(), cartSessionId(cart), + chromosome, cgiEncode(tdbParent->track)); jsEndCollapsibleSection(); printf("

"); //printf("

  + Description\n"); printf("


"); } /* track configuration form */ printf("
\n\n", hgTracksName(), cartUsualString(cart, "formMethod", "POST")); cartSaveSession(cart); if (sameWord(tdb->track,"ensGene")) {