ea1508d83bb99583cb9ec1ff630b938187a44006 chmalee Tue Nov 26 08:13:06 2019 -0800 Change 'validate hub' to 'Hub Development' and display custom help explaining that this tab is for running hubCheck. Also add a button to load the hub on hgTracks, and a dropdown with extra checkboxes for turning on udcTimeout and measureTiming. refs #24599 diff --git src/hg/js/hgHubConnect.js src/hg/js/hgHubConnect.js index 5a5ad60..5e906ef 100644 --- src/hg/js/hgHubConnect.js +++ src/hg/js/hgHubConnect.js @@ -1,15 +1,21 @@ +// make div1 visible and hide div2, used to show two different intro texts +// in the public/my hubs tab and the hub develop tab +function toggleTwoDivs(div1, div2) { + div1.style.display = "block"; + div2.style.display = "none"; +} // hover effect to highlight table rows $(function() { $(".hubList tr").hover( function() { $(this).addClass("hoverRow"); }, function() { $(this).removeClass("hoverRow"); }); }); // initializes the tabs - with cookie option // cookie option requires jquery.cookie.js