79e20fc51607401bba064189e0ef5f44259cc969 lrnassar Wed Feb 11 11:53:32 2026 -0800 Shortening the confirmation message, as most users have small attention spans. Refs #36704 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 7e26ea8fa2a..e18011a96d0 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9942,31 +9942,31 @@ } } hPrintf(" ", group->name); if (hub || group->errMessage) { safef(idText, sizeof idText, "%s_%d_disconn", hubName, disconCount); disconCount++; hPrintf("\n", idText); jsOnEventByIdF("click", idText, - "if (window.confirm(\"Are you sure you want to disconnect this hub? To reconnect it you will need to navigate to My Data -> Track Hubs and find the hub in the public hubs list or re-enter the URL if the hub is not listed there. Click 'OK' to continue with the disconnect, or 'Cancel' to continue browsing with the hub attached.\")) {" + "if (window.confirm(\"Disconnect this hub?\\n\\nReconnecting later will require navigating to My Data → Track Hubs to find it again or re-entering the hub URL.\")) {" "document.disconnectHubForm.elements['hubId'].value='%s';" "document.disconnectHubForm.submit();return true;" "}", hubName + strlen(hubTrackPrefix)); #ifdef GRAPH_BUTTON_ON_QUICKLIFT safef(idText, sizeof idText, "%s_%d_graph", hubName, graphCount); graphCount++; hPrintf("\n", idText); #endif } hPrintf("\n");