61fe3764cf9a208d5a464380085e70ec6b9a8227 galt Tue Nov 12 20:59:01 2024 -0800 Oops the convention is to only include it when not default. fixes #34776 diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index 28751b5..e401b93 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -1079,20 +1079,21 @@ hPrintf("</TD></TR>\n"); hPrintf("</TABLE>\n"); hFreeConn(&conn); cgiDown(0.9); freez(&groupTarget); webEndSectionTables(); hPrintf("</FORM>"); // 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. +if (differentString(virtModeType, "default")) jsonObjectAdd(jsonForClient, "virtModeType", newJsonString(virtModeType)); }