8c908f948b09826c6cb4452ee5b282aca41be85e galt Tue Dec 8 21:52:59 2015 -0800 Multi-region (exonMostly). This work allows people to look at virtual chromosomes from a list of regions and then navigate and perform all of the usual functions on it. diff --git src/hg/js/hgGateway.js src/hg/js/hgGateway.js index 5167aa7..b7dd63b 100644 --- src/hg/js/hgGateway.js +++ src/hg/js/hgGateway.js @@ -1,20 +1,23 @@ $(document).ready(function() { - suggestBox.init(document.orgForm.db.value, $('#suggestTrack').length > 0, function(item) { + suggestBox.init(document.orgForm.db.value, + $('#suggestTrack').length > 0, + function(item) { $('#positionDisplay').text(item.id); $('#position').val(item.id); - }, function(position) { + }, + function(position) { $('#positionDisplay').text(position); $('#position').val(position); }); // Default the image width to current browser window width (#2633). var ele = $('input[name=pix]'); if (ele.length && (!ele.val() || ele.val().length === 0)) { ele.val(calculateHgTracksWidth()); } if ($("#suggestTrack").length) { // Make sure suggestTrack is visible when user chooses something via gene select (#3484). $(document.mainForm).submit(function(event) { if ($('#hgFindMatches').length) { var track = $("#suggestTrack").val();