b14d21d38541d5cd49b58db365a216670f061b55 chmalee Fri Sep 26 10:53:28 2025 -0700 Clarify that it is only hubspace that is unavailable over plain http diff --git src/hg/js/hgMyData.js src/hg/js/hgMyData.js index 85e78967f2e..180e86039fa 100644 --- src/hg/js/hgMyData.js +++ src/hg/js/hgMyData.js @@ -1484,30 +1484,30 @@ } } function handleErrorState(jqXHR, textStatus) { cart.defaultErrorCallback(jqXHR, textStatus); } function init() { cart.setCgiAndUrl(fileListEndpoint); cart.debug(debugCartJson); // get the file list immediately upon page load let activeTab = $("#tabs").tabs( "option", "active" ); if (activeTab === 3) { let url = new URL(window.location.href); if (url.protocol === "http:") { - warn(`This feature is only available over HTTPS. Please load the HTTPS version of ` + + warn(`The hub upload feature is only available over HTTPS. Please load the HTTPS version of ` + `our site: https:${url.host}${url.pathname}${url.search}`); } else { cart.send({ getHubSpaceUIState: {}}, handleRefreshState, handleErrorState); cart.flush(); } } } return { init: init, uiState: uiState, defaultDb: defaultDb, makeGenomeSelectOptions: makeGenomeSelectOptions, detectFileType: detectFileType, }; }());