rem:  if (!this.rowObject.isValidSwap(row, indentDiff)) { 
add:  if (!this.rowObject.isValidSwap(row)) { 
context: Drupal.tableDrag.prototype.findDropTargetRow = function(x, y) {  var rows = this.table.tBodies[0].rows;  for (var n=0; n<rows.length; n++) {    var row = rows[n];    var indentDiff = 0;    // Safari fix see Drupal.tableDrag.prototype.getPosition()    if (row.offsetHeight == 0) {      var rowY = this.getPosition(row.firstChild).y;      var rowHeight = parseInt(row.firstChild.offsetHeight)/2;    }    // Other browsers.    else {      var rowY = this.getPosition(row).y;      var rowHeight = parseInt(row.offsetHeight)/2;    }    // Because we always insert before, we need to offset the height a bit.    if ((y > (rowY - rowHeight)) && (y < (rowY + rowHeight))) {      if (this.indentEnabled) {        // Check that this row is not a child of the row being dragged.        for (n in this.rowObject.group) {          if (this.rowObject.group[n] == row) {            return null;          }        }        // Check that moving this row will not cause invalid relationships.        var xDiff = this.currentMouseCoords.x - this.dragObject.initMouseCoords.x;        indentDiff = parseInt(xDiff / this.indentAmount);      }      if (!this.rowObject.isValidSwap(row, indentDiff)) {        return null;      }      // We've may have found the row the mouse just passed over, but it doesn't      // take into account hidden rows. Skip backwards until we find a draggable      // row.      while ($(row).is(':hidden') && $(row).prev('tr').is(':hidden')) {        row = $(row).prev('tr').get(0);      }      return row;    }  }  return null;};
meta: 1288	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1288/ff6ce75f7b41eb8806b679d3901f7ac6cee8a6e8/tabledrag.js/buggy/misc/tabledrag.js