rem:  if (indentDiff + this.groupDepth > 8) { 
add:  if (this.maxDepth && indentDiff + this.groupDepth > this.maxDepth) { 
context: Drupal.tableDrag.prototype.row.prototype.indent = function(indentDiff) {  if (indentDiff > 0) {    var prevRow = $(this.group).filter(':first').prev('tr').get(0);    if (prevRow) {      var prevIndent = $('.indentation', $(this.group).filter(':first').prev('tr')).size();      indentDiff = Math.min(prevIndent - this.indents + 1, indentDiff);    }    else {      indentDiff = 0; // First row may not contain indents.    }  }  else {    var nextIndent = $('.indentation', $(this.group).filter(':last').next('tr')).size();    indentDiff = Math.max(nextIndent - this.indents, indentDiff);  }  // Never allow indentation greater than 8 parents (menu system limit).  if (indentDiff + this.groupDepth > 8) {    indentDiff = 0;  }  for (var n = 1; n <= Math.abs(indentDiff); n++) {    // Add or remove indentations.    if (indentDiff < 0) {      $('.indentation:first', this.group).remove();      this.indents--;    }    else {      $('td:first', this.group).prepend(Drupal.theme('tableDragIndentation'));      this.indents++;    }  }  if (indentDiff) {    this.changed = true;  }  // Update indentation for this row.  this.groupDepth += indentDiff;  this.onIndent();  return indentDiff;};
meta: 6801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6801/58852d4b7b72113793455b92bf113359e849e2fb/tabledrag.js/buggy/misc/tabledrag.js