eb7f3d03c7b4bef231f09935913fafeab13db90e max Tue May 6 02:33:27 2025 -0700 show all subtracks button on hgTrackUi, refs #35702 diff --git src/hg/js/hui.js src/hg/js/hui.js index 8e2cd67c18f..813e9b7142c 100644 --- src/hg/js/hui.js +++ src/hg/js/hui.js @@ -1572,15 +1572,20 @@ // update the color picker if you change the input box $(inpText).on("change", function() { $(inpSpec).spectrum("set", $(inpText).val()); saveHlColor($(inpText).val(), trackName); }); // Restore the default on Reset link click $(inpResetLink).on("click", function() { let hlDefault = hlColorDefault; $(inpText).val(hlDefault); $(inpSpec).spectrum("set", hlDefault); saveHlColor(hlDefault, trackName); }); $(inpSpec).spectrum("set", $(inpText).val()); } + +function onClickShowAllSubtracks(ev) { + /* user clicked the 'show all tracks' button */ + $(".subCB").prop("checked", true); +}