9e9ee32a4c8a76f7d674148f840476ba3efd4de9 chmalee Thu Jul 23 12:13:44 2026 -0700 prevent faceted bar chart tracks from showing item details in popups as their hgc pages rely on forms that resubmit on every click of the facet, refs #37878 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 7a64cbe58b7..705dc22bba6 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -1814,34 +1814,35 @@ if (posting.blockUseMap === true) { return false; } else if (cgi === "hgGene") { window.hgcOrHgGeneArgs = parsedUrl.queryArgs; id = parsedUrl.queryArgs.hgg_type; popUpHgcOrHgGene.hgc(id, this.href); return false; } else if (cgi === "hgTrackUi") { rec = hgTracks.trackDb[id]; if (rec && tdbIsLeaf(rec)) { popUp.hgTrackUi(id, false); } else { location.assign(href); } } else if (cgi === "hgc") { - if (id.startsWith("multiz")) { + if (id.startsWith("multiz") || id.startsWith("tabulaSapiens") || id.startsWith("crossTissue")) { // multiz tracks have a form that lets you change highlighted bases // that does not play well in a pop up - // toga tracks require bootstrap which does not work with something + // the faceted bar charts have a custom hgc page that resubmits on most clicks + // so we need to overhaul the page before allowing them in popups location.assign(href); return false; } popUpHgcOrHgGene.hgc(id, this.href); return false; } else { // must be changing the density of a track, save the settings and post the form: return posting.saveSettings(this); } } }, saveSettings: function (obj) { if (posting.blockUseMap === true) {