diff options
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); }; |