2f8c4b4c077c8704674e72050fada6f5a7da63ab chmalee Thu Sep 26 12:12:45 2024 -0700 Remove recommended track sets title hack and make the dialog non-resizable, refs Max meeting diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 0900890..93c2f2e 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -3590,34 +3590,31 @@ function showExportedDataHubsPopup() { let popUp = document.getElementById("exportedDataHubsPopup"); title = popUp.title; if (title.length === 0 && popUp.getAttribute("mouseovertext") !== "") {title = popUp.getAttribute("mouseovertext");} $('#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("mouseovertext") !== "") {title = popUp.getAttribute("mouseovertext");} - $('#recTrackSetsPopup').dialog({width:'650', title: title}); + $('#recTrackSetsPopup').dialog({resizable: false, width:'650'}); } function removeSessionPanel() { $('#recTrackSetsPanel').remove(); setCartVar("hgS_otherUserSessionLabel", "off", null, false); } // A function to show the keyboard help dialog box, bound to ? and called from the menu bar function showHotkeyHelp() { $("#hotkeyHelp").dialog({width:'600'}); } // A function to add an entry for the keyboard help dialog box to the menubar // and add text that indicates the shortcuts to many static menubar items as suggested by good old IBM CUA/SAA function addKeyboardHelpEntries() {