90908c5b29e3ea47dc5b3088d46a60b6ba09eefb
gperez2
Sun Aug 30 13:41:37 2026 -0700
Updating the My Track Hubs link in the account popup to go to Connected Hubs instead of Hub Upload. refs #36267
diff --git src/hg/js/topLinks.js src/hg/js/topLinks.js
index 0ffa1e94e6b..99b5248175e 100644
--- src/hg/js/topLinks.js
+++ src/hg/js/topLinks.js
@@ -106,31 +106,31 @@
p.appendChild(document.createTextNode("."));
body.appendChild(p);
// helper: add an
to a list
function addLink(ul, href, text) {
var li = el("li", {}, {margin: "6px 0"});
li.appendChild(el("a", {href: href, textContent: text}));
ul.appendChild(li);
}
// "My Data" navigation: sessions, custom tracks, uploaded track hubs (hubSpace).
var hgsid = getHgsidSafe();
var navUl = el("ul", {}, {listStyle: "none", margin: "0 0 10px 0", padding: "0"});
addLink(navUl, "../cgi-bin/hgSession?hgS_doMainPage=1&hgsid=" + hgsid, "My Sessions");
addLink(navUl, "../cgi-bin/hgCustom?hgsid=" + hgsid, "My Custom Tracks");
- addLink(navUl, "../cgi-bin/hgHubConnect?hgsid=" + hgsid + "#hubUpload", "My Track Hubs");
+ addLink(navUl, "../cgi-bin/hgHubConnect?hgsid=" + hgsid + "#unlistedHubs", "My Track Hubs");
body.appendChild(navUl);
// Account actions.
var ul = el("ul", {}, {listStyle: "none", margin: "0", padding: "0",
borderTop: "1px solid #ddd", paddingTop: "8px"});
if (changePwUrl)
addLink(ul, changePwUrl, "Change password");
if (changeEmailUrl)
addLink(ul, changeEmailUrl, "Change email");
addLink(ul, logoutUrl, "Sign out");
body.appendChild(ul);
showModal("Account", body);
}
// ---- Share a link ------------------------------------------------------------------------