2c7e77b183933d53fd1e62557622facffbd3f6e8 max Tue Feb 24 15:07:01 2026 -0800 commit error in previous commit, fixing now diff --git src/hg/js/utils.js src/hg/js/utils.js index 451dc2ce9f6..fa76daf427a 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -4756,31 +4756,30 @@ var w = window.open(''); w.document.write(' '); w.document.write(''); w.onload = function(ev) { // Attach event listeners after the new window is loaded w.document.getElementById('closeWindowLink').addEventListener('click', function() { w.close(); } ); }; fetch(url).then(response => response.text()) // Read the response as text .then(function(text) { w.document.write('
' + text + ''); // Display the content w.document.close(); // Close the document to finish rendering }) .catch(error => console.error('Error fetching BED file:', error)); } -<<<<<<< HEAD function processFindGenome(result, term) { // process the hubApi/findGenome?q= result set into somthing // jquery-ui autocomplete can use let data = []; let apiSkipList = new Set(["downloadTime", "downloadTimeStamp", "availableAssemblies", "browser", "elapsedTimeMs", "itemCount", "q", "totalMatchCount", "liftable"]); Object.keys(result).forEach((key) => { if (!(apiSkipList.has(key))) { let val = result[key]; let d = { "genome": key, "label": `${val.commonName} (${key})`, }; Object.keys(val).forEach((vkey) => { d[vkey] = val[vkey];