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/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c index 3d37fc6d397..f117e6e154e 100644 --- src/hg/hgTrackUi/hgTrackUi.c +++ src/hg/hgTrackUi/hgTrackUi.c @@ -4013,31 +4013,32 @@ char *quickLiftSourceDb = trackDbSetting(tdb, "quickLiftDb"); if (quickLiftSourceDb != NULL) { printf("\n <a href='%s?%s=%s&c=%s&g=%s&hgTrackUi_op=quickLiftRemove&qlSourceDb=%s' >Remove from QuickLift</a>\n", hgTrackUiName(), cartSessionVarName(), cartSessionId(cart), chromosome, cgiEncode(tdb->track), cgiEncode(quickLiftSourceDb)); } } if (ct) { puts(" "); cgiMakeButton(CT_DO_REMOVE_VAR, "Remove custom track"); cgiMakeHiddenVar(CT_SELECTED_TABLE_VAR, tdb->track); puts(" "); - if (differentString(tdb->type, "chromGraph")) + if (differentString(tdb->type, "chromGraph") && + differentString(tdb->type, "myVariants")) { char buf[256]; if (ajax) // reference to a separate form doesn't work in modal dialog, // so change window.location directly. safef(buf, sizeof(buf), "window.location='%s?hgsid=%s&%s=%s';return false;", hgCustomName(), cartSessionId(cart), CT_SELECTED_TABLE_VAR, tdb->track); else safef(buf, sizeof(buf), "document.customTrackForm.submit();return false;"); cgiMakeOnClickButton("htui_updtCustTrk", buf, "Update custom track"); } } } if (!tdbIsSuper(tdb) && !tdbIsDownloadsOnly(tdb) && !ajax)