dc34085c59de1a3a941e2c34318d9fd8af753579 chmalee Fri Jul 17 14:27:46 2026 -0700 hubSpace: rename share buttons to Share hub, keep share banner always present, refs #37705 Co-Authored-By: Claude Opus 4.8 (1M context) diff --git src/hg/js/hgMyData.js src/hg/js/hgMyData.js index 64728facd16..3f1ac0a5e3e 100644 --- src/hg/js/hgMyData.js +++ src/hg/js/hgMyData.js @@ -1,2639 +1,2647 @@ /* jshint esversion: 8 */ var debugCartJson = true; function prettyFileSize(num) { if (!num) {return "0B";} if (num < (1024 * 1024)) { return `${(num/1024).toFixed(1)}KB`; } else if (num < (1024 * 1024 * 1024)) { return `${((num/1024)/1024).toFixed(1)}MB`; } else { return `${(((num/1024)/1024)/1024).toFixed(1)}GB`; } } function cgiEncode(value) { // copy of cheapgi.c:cgiEncode except we are explicitly leaving '/' characters, and // space becomes '+': let splitVal = value.split('/'); splitVal.forEach((ele, ix) => { if (ele == " ") { splitVal[ix] = '+'; } else { splitVal[ix] = encodeURIComponent(ele); } }); return splitVal.join('/'); } function cgiDecode(value) { // decode an encoded value return decodeURIComponent(value); } function setDbSelectFromAutocomplete(selectEle, item) { // this has been bound to the