12947e6dc054b98b4bb372cf381b40169638aa65
chmalee
Thu Jan 15 14:44:26 2026 -0800
Make ability to do hgc in popups on by default, still need the cart variable doHgcInPopUp (which also defaults to true) to control whether the popup actually shows up, refs #36953
diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c
index 6dfe81e80be..311a0c60c34 100644
--- src/hg/hgTracks/config.c
+++ src/hg/hgTracks/config.c
@@ -753,31 +753,31 @@
hPrintf("
| ");
hCheckBox("showDinkButtons", cartUsualBoolean(cart, "showDinkButtons", FALSE));
hPrintf(" | ");
hPrintf("Show move left/right limit buttons under image");
hPrintf(" |
\n");
hPrintf("| ");
hCheckBox("enableHighlightingDialog", cartUsualBoolean(cart, "enableHighlightingDialog", TRUE));
hPrintf(" | ");
hPrintf("Enable highlight with drag-and-select "
"(if unchecked, drag-and-select always zooms to selection)");
hPrintf(" |
\n");
// check if we can do hgc pages in a pop up before putting up the user control
-if (cfgOptionBooleanDefault("canDoHgcInPopUp", FALSE))
+if (cfgOptionBooleanDefault("canDoHgcInPopUp", TRUE))
{
// put a checkbox, on by default, to control whether item clicks stay on hgTracks or
// go to hgTracks
hPrintf("| ");
hCheckBox("doHgcInPopUp", cartUsualBoolean(cart, "doHgcInPopUp", TRUE));
hPrintf(" | Enable pop-up when clicking items |
\n");
}
hTableEnd();
cgiDown(0.9);
char buf[256];
char *freeze = hFreezeFromDb(database);