8e7458b6824acecaeae94cf3969e152c0cf9ee3d kate Sun May 13 21:16:14 2012 -0700 Generalize experiment matrix to handle mouse diff --git src/hg/js/encodeDataSummary.js src/hg/js/encodeDataSummary.js index d66bfdb..2bf4968 100644 --- src/hg/js/encodeDataSummary.js +++ src/hg/js/encodeDataSummary.js @@ -85,34 +85,34 @@ if (cellAssayExps[dataType] !== undefined) { delete refGenomeExps[dataType]; } } // fill in tables and activate buttons tableOut('#refGenomeTable', refGenomeTypes, refGenomeExps, false); tableOut('#elementTable', elementTypes, cellAssayExps, false); tableOut('#tfbsTable', tfbsTypes, tfbsExps, true); if (encodeProject.isIE7()) { // disable buttons on IE7 -- not yet able to display matrix column headers adequately $('#buttonDataMatrix').remove(); $('#buttonChipMatrix').remove(); } else { $('#buttonDataMatrix').click(function () { - window.location = 'encodeDataMatrixHuman.html'; + window.location = encodeMatrix.pageForDataMatrix(encodeMatrix_organism); }); $('#buttonChipMatrix').click(function () { - window.location = 'encodeChipMatrixHuman.html'; + window.location = encodeMatrix.pageForChipMatrix(encodeMatrix_organism); }); } // add row highlight $('.summaryTable').delegate('.even, .odd', 'mouseover mouseleave', function (ev) { if (ev.type == 'mouseover') { $(this).addClass('rowHighlight'); } else { $(this).removeClass('rowHighlight'); } }); } function tableOut(table, types, exps, isChipSeq) { // Helper function to output tables to document