e7264355c83a0d0875b372b7ad26162adb363f6c chmalee Tue May 12 13:20:28 2026 -0700 myVariants v1 follow-ups: CT edit gate, anon-user button gate, hgc duplicate link, item-name synthesis from ref/alt or HGVS, refs #33808 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 917a04ec2d8..ab1a2b6a5ab 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -1229,31 +1229,31 @@ hideAfterPaletteSelect: true, color: colorInput.value, showPalette: true, showInput: true, showSelectionPalette: true, showInitial: true, preferredFormat: "hex", localStorageKey: "myVariantsColors" }); } return form; }, init: function () { - // show a jquery-ui dialog when a user clicks on the 'make item' button + // show a jquery-ui dialog when a user clicks on the 'Add Annotation' button let dialog = document.getElementById('myVariantsDialog'); if (!dialog) { dialog = document.createElement("div"); dialog.id = "myVariantsDialog"; dialog.style = "display: none"; dialogButtons = {}; // Call the function to build the form, but only if logged in already if (!userIsLoggedIn) { let msg = document.createElement("div"); msg.id = "logInMessage"; msg.innerHTML = "Please log in to use this feature."; dialog.appendChild(msg); } else { let form = this.createBedForm(dialog);