summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/tabledrag.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index 46a89b2fa..18ff87604 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -88,7 +88,7 @@ Drupal.tableDrag = function(table, tableSettings) {
// Add mouse bindings to the document. The self variable is passed along
// as event handlers do not have direct access to the tableDrag object.
- $(document).bind('mousemove', function(event) { self.dragRow(event, self); });
+ $(document).bind('mousemove', function(event) { self.dragRow(event, self); return false; });
$(document).bind('mouseup', function(event) { self.dropRow(event, self); });
};
@@ -394,8 +394,6 @@ Drupal.tableDrag.prototype.dragRow = function(event, self) {
self.indentCount = Math.max(self.indentCount, self.rowObject.indents);
}
}
-
- return false;
}
};