a22aa9b2aec0006bee4b2f493387678eb1298e12
kate
  Thu Apr 19 16:04:43 2012 -0700
Suppress special ChIP-seq launcher button on IE as it dont work
diff --git src/hg/js/encodeDataMatrix.js src/hg/js/encodeDataMatrix.js
index c257a44..c18ca6f 100644
--- src/hg/js/encodeDataMatrix.js
+++ src/hg/js/encodeDataMatrix.js
@@ -98,31 +98,33 @@
         // 1st column is row headers
         // colgroups are needed to support cross-hair hover effect
         $thead.before('<colgroup></colgroup>');
 
         $.each(dataGroups, function (i, group) {
             $tableHeaders.append('<th class="groupType"><div class="verticalText">' + 
                                 group.label + '</div></th>');
             maxLen = Math.max(maxLen, group.label.length);
             $thead.before('<colgroup></colgroup>');
             $.each(group.dataTypes, function (i, label) {
                 dataType = encodeProject.getDataTypeByLabel(label);
 
                 // prune out datatypes with no experiments
                 if (dataTypeExps[dataType.term] !== undefined) {
                     $th = $('<th class="elementType"><div class="verticalText">' + 
-                                dataType.label + (dataType.term === 'ChipSeq' ? 
+                                dataType.label + 
+                                // add button to launch ChIP-seq (but suppress on IE)
+                                (dataType.term === 'ChipSeq' && !$.browser.msie ? 
                                 '&nbsp;&nbsp; <span title="Click to view ChIP-seq experiment matrix by antibody target" id="chipButton">view matrix</span>': '') + 
                                 '</div></th>');
                     if (!encodeProject.isIE8()) {
                         // Suppress mouseOver under IE8 as QA noted flashing effect
                         $th.attr('title', dataType.description);
                     }
                     $tableHeaders.append($th);
 
                     // add colgroup element to support cross-hair hover effect
                     $thead.before('<colgroup class="experimentCol"></colgroup>');
                     maxLen = Math.max(maxLen, dataType.label.length);
                 }
             });
         });