diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-03 05:34:37 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-03 05:34:37 +0000 |
commit | 3b2d24af0b8ca83415310e2b328cc60fa830837b (patch) | |
tree | f8f68e4f65f524141068a3c420aa4996422f5451 /misc/tabledrag.js | |
parent | 112e0ffa4fb143f47adc6a2f1ce859c2c97c887e (diff) | |
download | brdo-3b2d24af0b8ca83415310e2b328cc60fa830837b.tar.gz brdo-3b2d24af0b8ca83415310e2b328cc60fa830837b.tar.bz2 |
#561726 by effulgentsia, TwoD, and sun: Make ajax.js and tabledrag.js implement Drupal.detachBehaviors().
Diffstat (limited to 'misc/tabledrag.js')
-rw-r--r-- | misc/tabledrag.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js index d79eda06c..b40f95300 100644 --- a/misc/tabledrag.js +++ b/misc/tabledrag.js @@ -903,7 +903,9 @@ Drupal.tableDrag.prototype.row.prototype.isValidSwap = function (row) { * DOM element what will be swapped with the row group. */ Drupal.tableDrag.prototype.row.prototype.swap = function (position, row) { + Drupal.detachBehaviors(this.group, Drupal.settings, 'move'); $(row)[position](this.group); + Drupal.attachBehaviors(this.group, Drupal.settings); this.changed = true; this.onSwap(row); }; |