b5ef1b8aaf9bfc4c37bc290e9a9da1aeb89b56b1 max Thu Jan 25 04:19:40 2024 -0800 hide back to genome browser link as per QA, refs #32926 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 807c768..2eca24b 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -11158,30 +11158,33 @@ /* this jsonWrite structure will finish off upon successful exit. * each track will start a list with the track name: * jsonWriteListStart(mouseOverJson, tg->track); */ } } else enableMouseOver = FALSE; if (issueBotWarning) { char *ip = getenv("REMOTE_ADDR"); botDelayMessage(ip, botDelayMillis); } +// hide the link "Back to Genome Browser" in the "Genome Browser" menu, since we're on the genome browser now +jsInline("$('#backToBrowserLi').remove();"); + char *debugTmp = NULL; /* Uncomment this to see parameters for debugging. */ /* struct dyString *state = NULL; */ /* Initialize layout and database. */ if (measureTiming) measureTime("Get cart of %d for user:%s session:%s", theCart->hash->elCount, theCart->userId, theCart->sessionId); /* #if 1 this to see parameters for debugging. */ /* Be careful though, it breaks if custom track * is more than 4k */ #if 0 printf("State: %s\n", cgiUrlString()->string); #endif getDbAndGenome(cart, &database, &organism, oldVars);