cca2b17b47cb702ca0a1bf45c8a68559c37e5b0a chmalee Tue Mar 17 09:05:42 2026 -0700 Default to with headers for download data in region menu on hgTracks, refs #36802 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index e77472ea11e..e4b73beda03 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -5878,31 +5878,31 @@ htmlStr += "<br>"; } }); htmlStr += "<div ><label style='padding-right: 10px' for='downloadFileName'>Enter an output file name</label>"; htmlStr += "<input type=text size=30 class='downloadFileName' id='downloadFileName'" + " value='" + getDb() + ".tracks'></input>"; htmlStr += "<br>"; htmlStr += "<label style='padding-right: 10px' for='outputFormat'>Choose an output format</label>"; htmlStr += "<select name='outputFormat' id='outputFormat'>"; htmlStr += "<option selected value='json'>JSON</option>"; htmlStr += "<option value='csv'>CSV</option>"; htmlStr += "<option value='tsv'>TSV</option>"; htmlStr += "</select>"; htmlStr += "<br>"; htmlStr += "<label style='padding-right: 10px' for='downloadTrackHeaders'>Include track column headers</label>"; - htmlStr += "<input type='checkbox' id='downloadTrackHeaders'></input>"; + htmlStr += "<input type='checkbox' checked id='downloadTrackHeaders'></input>"; htmlStr += "</div>"; downloadDialog.innerHTML = htmlStr; $("#checkAllDownloadTracks").on("click", function() { $(".downloadTrackName").each(function(i, elem) { elem.checked = true; }); }); $("#uncheckAllDownloadTracks").on("click", function() { $(".downloadTrackName").each(function(i, elem) { elem.checked = false; }); }); $(downloadDialog).dialog('open'); $("[id$='Tooltip'").each(function(i, elem) { addMouseover(elem, "This track must be downloaded with the Table Browser");