3d006a7244d91a9d72260986a5741a5aa65787dc chmalee Tue May 12 15:01:28 2026 -0700 Widen 'jump to position' dialog after creating a myVariants item via hgvs. Remove 'update custom track' button from hgTrackUi for myVariants tracks. Fix item clicks not working after item name update in last commit, refs #33808 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index ab1a2b6a5ab..44c60720167 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -1433,31 +1433,31 @@ const posStr = chrom + ":" + (start+1).toLocaleString() + "-" + end.toLocaleString(); // Create dialog content const content = document.createElement("div"); // Build message with position const msg = document.createElement("p"); msg.style.marginBottom = "0.5em"; msg.innerHTML = "Annotation created at <strong>" + posStr + "</strong>"; content.appendChild(msg); // Show dialog with buttons $(content).dialog({ title: "Annotation Created", modal: true, - width: 450, + width: 600, buttons: { "Go to Annotation": function() { if (document.getElementById("myVariantsRememberNav").checked) { localStorage.setItem("myVariants_navPref", "jump"); } $(this).dialog("close"); myVariants.navigateToVariant(chrom, start, end); }, "Stay Here": function() { if (document.getElementById("myVariantsRememberNav").checked) { localStorage.setItem("myVariants_navPref", "stay"); } $(this).dialog("close"); } },