cd70df9409f8b89c142bed7a7ee87a75c667a183 braney Wed Jul 27 15:35:04 2016 -0700 always put track metadata on the HTML page (hidden by default) instead of requesting it through hgApi. This much more efficient because the browser already has the metadata when it's building the table #17790 diff --git src/hg/js/utils.js src/hg/js/utils.js index 7dba058..7f48283 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -590,34 +590,30 @@ return false; var img = normed($(divit).prev('a').find("img")); if (img) { if ($(divit).css('display') === 'none') $(img).attr('src','../images/upBlue.png'); else $(img).attr('src','../images/downBlue.png'); } if ($(divit).css('display') === 'none') { if (typeof(subCfg) === "object") {// subCfg.js file included? var cfg = normed($("#div_cfg_"+trackName)); if (cfg) // Hide any configuration when opening metadata $(cfg).hide(); } - if ($(divit).find('table').length === 0) { - lookupMetadata(trackName,showLonglabel,showShortLabel); - return false; - } } var tr = $(divit).parents('tr'); if (tr.length > 0) { tr = tr[0]; var bgClass = null; var classes = $( tr ).attr("class").split(" "); for (var ix=0;ix