8a0ff4ba63dfd3e13391b2c602a157daaf54d665
kate
  Thu Mar 1 21:11:27 2012 -0800
Migrate ChipMatrix to refactoring 1 (dataMatrix.js)
diff --git src/hg/js/encodeMatrix.js src/hg/js/encodeMatrix.js
index c291e60..843d256 100644
--- src/hg/js/encodeMatrix.js
+++ src/hg/js/encodeMatrix.js
@@ -124,31 +124,31 @@
         // add event handling to both main table and its clone
         // NOTE: second table name is generated from floatheader plugin
         tables = '#' + tableId + ',' + '#' + tableId + 'FloatHeaderClone';
 
         $(tables).delegate('.matrixCell, .elementType','mouseover mouseleave', function(ev) {
             if (!$(this).hasClass('experiment') && !$(this).hasClass('todoExperiment') &&
                 !$(this).hasClass('elementType') && !$(this).hasClass('groupType')) {
                 return;
             }
             if (ev.type == 'mouseover') {
                 // refrain from highlighting header row
                 if (!$(this).parent().is('#columnHeaders')) {
                     $(this).parent().addClass('crossHair');
                 }
                 $col = $('colGroup').eq($(this).index());
-                if ($col.hasClass('dataTypeCol')) {
+                if ($col.hasClass('experimentCol')) {
                     $col.addClass('crossHair');
                 }
             } else {
                 $(this).parent().removeClass('crossHair');
                 $('colGroup').eq($(this).index()).removeClass('crossHair');
             }
         });
     },
 
     rotateTableCells: function ($table) {
        // plugin from David Votrubec, handles IE rotate
        // TODO: restrict to IE
        $table.rotateTableCellContent({className: 'verticalText'});
        $(this).attr('disabled', 'disabled');
     }