f72cf5a493f28ff5613e2d0d06ec1cc708db44b9 max Thu Aug 8 08:54:18 2024 -0700 another braindead Max bug again, refs #34249 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index becac9f..79e08f0 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9520,36 +9520,38 @@ hPrintf("</td><td style='text-align:center; width:90%%;'>\n<B>%s</B>", group->label); hPrintf("</td><td style='text-align:right;'>\n"); if (isHubTrack(group->name)) { char *hubName = hubNameFromGroupName(group->name); struct trackHub *hub = grabHashedHub(hubName); // visibility: hidden means that the element takes up space so the center alignment is not disturbed. if (hub != NULL) { if (hub->descriptionUrl == NULL) hPrintf("<span title='The track hub authors have not provided a descriptionUrl with background " "information about this track hub' href='../goldenPath/help/hgTrackHubHelp.html#hub.txt' " "style='color:#FFF; font-size: 13px;' target=_blank>No Info</a> "); else - hPrintf("<a title='Documentation about this track hub, provided by the track hub authors (not UCSC). "); + { + hPrintf("<a title='Link to documentation about this track hub, provided by the track hub authors (not UCSC). "); if (hub->email) hPrintf("The authors can be reached at %s", hub->email); hPrintf("' href='%s' " "style='color:#FFF; font-size: 13px;' target=_blank>Info</a> ", hub->descriptionUrl); } + } safef(idText, sizeof idText, "%s_%d_disconn", hubName, disconCount); disconCount++; hPrintf("<input name=\"hubDisconnectButton\" id='%s'" " type=\"button\" value=\"Disconnect\">\n", idText); jsOnEventByIdF("click", idText, "document.disconnectHubForm.elements['hubId'].value='%s';" "document.disconnectHubForm.submit();return true;", hubName + strlen(hubTrackPrefix)); } hPrintf("<input type='submit' name='hgt.refresh' value='Refresh' " "title='Update image with your changes'>\n"); hPrintf("</td></tr></table></th>\n"); controlGridEndRow(cg);