8ccceea1c52492b6a869af8de3190a387d4b6550
braney
  Tue Mar 12 13:41:09 2024 -0700
added exportedDataHubs dialog and code to deal with quickLifted hubs

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index a27a8ae..b83ebe5 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -3386,30 +3386,38 @@
             } else if (hgTracks.virtModeType == "singleAltHaplo") {
                 msg += "alt haplotype";
             } 
             msg += " </b></em> view. &nbsp;&nbsp;"
                 + "<em>Select a different viewing mode, or exit and return to normal view</em>.";
         }
         $('#multiRegionConfigStatusMsg').html(msg);
 
         // Make 'Cancel' button close dialog
         $('input[name="Cancel"]').click(function() {
             $('#hgTracksDialog').dialog('close');
         });
     }
 };
 
+// Show the exported data hubs popup
+function showExportedDataHubsPopup() {
+    let popUp = document.getElementById("exportedDataHubsPopup");
+    title = popUp.title;
+    if (title.length === 0 && popUp.getAttribute("originaltitle") !== "") {title = popUp.getAttribute("originaltitle");}
+    $('#exportedDataHubsPopup').dialog({width:'650', title: title});
+}
+
 // Show the recommended track sets popup
 function showRecTrackSetsPopup() {
     // Update links with current position
     $('a.recTrackSetLink').each(function() {
         var $this = $(this);
         var link = $this.attr("href").replace(/position=.*/, 'position=');
         $this.attr("href", link + genomePos.original);
     });
     let popUp = document.getElementById("recTrackSetsPopup");
     title = popUp.title;
     if (title.length === 0 && popUp.getAttribute("originaltitle") !== "") {title = popUp.getAttribute("originaltitle");}
     $('#recTrackSetsPopup').dialog({width:'650', title: title});
 }
 
 function removeSessionPanel() {