Commit 768affe5 authored by Dries's avatar Dries
Browse files

- Patch #1414824 by nod_: fixed leaking vars in tabledrag.js.

parent ae93ca68
...@@ -1032,8 +1032,8 @@ Drupal.tableDrag.prototype.row.prototype.validIndentInterval = function (prevRow ...@@ -1032,8 +1032,8 @@ Drupal.tableDrag.prototype.row.prototype.validIndentInterval = function (prevRow
Drupal.tableDrag.prototype.row.prototype.indent = function (indentDiff) { Drupal.tableDrag.prototype.row.prototype.indent = function (indentDiff) {
// Determine the valid indentations interval if not available yet. // Determine the valid indentations interval if not available yet.
if (!this.interval) { if (!this.interval) {
prevRow = $(this.element).prev('tr').get(0); var prevRow = $(this.element).prev('tr').get(0);
nextRow = $(this.group).filter(':last').next('tr').get(0); var nextRow = $(this.group).filter(':last').next('tr').get(0);
this.interval = this.validIndentInterval(prevRow, nextRow); this.interval = this.validIndentInterval(prevRow, nextRow);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment