ed39331147a0cd7868921ef7bdf6b3f022a49c1b kate Tue Mar 16 18:10:57 2021 -0700 Customize multi-region config help message to current status and disable exit button when not in MR mode. refs #26385 diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index a403088..3e876bf 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -738,41 +738,43 @@ struct track *trackList; struct track *ideoTrack; struct group *groupList; int vis = -2; configInitTrackList(vis, &groupTarget, &trackList, &ideoTrack, &groupList); hPrintf("
\n", hgTracksName(), cartUsualString(cart, "formMethod", "POST")); webStartWrapperDetailedNoArgs(cart, database, "", "", FALSE, FALSE, FALSE, FALSE); cartSaveSession(cart); hPrintf("Multi-region display 'slices' the genome to allow viewing discontinuous regions" - " together in the browser window." - "  Select the desired viewing mode below."); + " together in the browser window.   "); +// mode-specific message filled in by JS when dialog opened +hPrintf(""); hPrintf("

"); hTableStart(); virtModeType = cartUsualString(cart, "virtModeType", virtModeType); hPrintf(""); cgiMakeRadioButton("virtModeType", "default", sameWord("default", virtModeType)); -hPrintf(""); +hPrintf(""); +hPrintf(""); hPrintf("Exit multi-region mode"); hPrintf("\n"); struct sqlConnection *conn = NULL; if (!trackHubDatabase(database)) // no db conn for assembly hubs conn = hAllocConn(database); // Do we have a gene table for exonMostly? findBestEMGeneTable(trackList); if (emGeneTable) { hPrintf(""); cgiMakeRadioButton("virtModeType", "exonMostly", sameWord("exonMostly", virtModeType)); hPrintf(""); hPrintf("Show exons using %s.    Use padding of: ", emGeneTrack->shortLabel);