57fc6dd48cdec755ddaf91ed6194d2b8c0f3116c galt Fri Nov 8 19:52:11 2024 -0800 Adds missing hgTracks object setting. Fixes the user complaint Can't exit Multi-Region mode. fixes #34776. diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index 87c0abf..28751b5 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -1074,17 +1074,25 @@ hPrintf("\n"); hPrintf("\n"); hPrintf("
"); cgiMakeButton("topSubmit", "Submit"); hPrintf("  "); cgiMakeCancelButton("Cancel"); hPrintf("
\n"); hFreeConn(&conn); cgiDown(0.9); freez(&groupTarget); webEndSectionTables(); hPrintf(""); + +// The previous version of the hgTracks js object will get over-written by this page, +// so add all the variables needed htere. So any new hgTracks.somefield references +// added to hgTracks.js may need to be put here. + +jsonObjectAdd(jsonForClient, "virtModeType", newJsonString(virtModeType)); + + }