9f97f6a8db9d1ee4752f0b5e3e9e5e23ecccefcb vsmalladi Tue Apr 10 14:08:18 2012 -0700 Removed Regions link in File Search. Redmine #7005. diff --git src/hg/js/utils.js src/hg/js/utils.js index 90ccd4f..b6acf9e 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -2007,32 +2007,32 @@ ////////////////////////////// //// findTracks functions //// ///////////////////////////// var findTracks = { updateMdbHelp: function (index) { // update the metadata help links based on currently selected values. // If index == 0 we update all help items, otherwise we only update the one == index. var db = getDb(); var disabled = { // blackList 'accession': 1, 'dataVersion': 1, 'dccAccession': 1, 'expId': 1, 'geoSampleAccession': 1, 'grant': 1, 'lab': 1, 'labExpId': 1, 'labVersion': 1, 'origAssembly': 1, - 'obtainedBy': 1, 'replicate': 1, 'setType': 1, 'softwareVersion': 1, 'subId': 1, - 'tableName': 1, 'tissueSourceType': 1, 'view': 1 + 'obtainedBy': 1, 'region': 1, 'replicate': 1, 'setType': 1, 'softwareVersion': 1, + 'subId': 1, 'tableName': 1, 'tissueSourceType': 1, 'view': 1 } var expected = $('tr.mdbSelect').length; var ix=1; if (index!=0) { ix=index; expected=index; } for(;ix <= expected;ix++) { var helpLink = $("span#helpLink" + ix); if (helpLink.length > 0) { var val = $("select[name='hgt_mdbVar" + ix + "']").val(); // NOTE must match METADATA_NAME_PREFIX in hg/hgTracks/searchTracks.c var text = $("select[name='hgt_mdbVar" + ix + "'] option:selected").text(); helpLink.html(" "); // Do not want this with length == 0 later! if (typeof(disabled[val]) == 'undefined') { var str;