922b552ff923e8e2be8d75495050267394dacbed vsmalladi Thu Mar 8 13:15:24 2012 -0800 Changes for Redmine #7100 1. Added info link for "Experiment (Assay) type" 2. Suppressed info link for: - "GEO sample accession" - "Obtained by" - "UCSC Accession" - "Experimet ID" *NOTE: Only suppressed on DEV diff --git src/hg/js/utils.js src/hg/js/utils.js index 7fdb1f2..6431307 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -2005,33 +2005,34 @@ sortTable.initialize(table,addSuperscript,altColors); } ////////////////////////////// //// 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, 'dataType': 1, 'dataVersion': 1, 'geoSample': 1, 'grant': 1, - 'lab': 1, 'labExpId': 1, 'labVersion': 1, 'origAssembly': 1, 'replicate': 1, - 'setType': 1, 'softwareVersion': 1, 'subId': 1, 'tableName': 1, 'view': 1 + '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, '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;