summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/tabledrag.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index abddd4380..b45b5ecee 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -87,8 +87,8 @@ 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); return false; });
- $(document).bind('mouseup', function(event) { self.dropRow(event, self); });
+ $(document).bind('mousemove', function(event) { return self.dragRow(event, self); });
+ $(document).bind('mouseup', function(event) { return self.dropRow(event, self); });
};
/**
@@ -415,6 +415,8 @@ Drupal.tableDrag.prototype.dragRow = function(event, self) {
self.dragObject.indentMousePos.x += self.indentAmount * indentChange * self.rtl;
self.indentCount = Math.max(self.indentCount, self.rowObject.indents);
}
+
+ return false;
}
};