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("<button type='button' class=\"hgtButtonHideGroup\" data-group-name=\"%s\" " "title='Hide all tracks in this group'>Hide group</button> ", group->name); if (hub || group->errMessage) { safef(idText, sizeof idText, "%s_%d_disconn", hubName, disconCount); disconCount++; hPrintf("<input name=\"hubDisconnectButton\" title='Disconnect third-party track hub and remove all tracks' " "id='%s'" " type=\"button\" value=\"Disconnect\">\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("<input name=\"graphButton\" id='%s'" " type=\"button\" value=\"Graph\">\n", idText); #endif } hPrintf("<input type='submit' name='hgt.refresh' value='Refresh' " "title='Update image with your changes. Any of the refresh buttons on this page may be used.'>\n");