From 9c835a88ca47ef10acb601d037490d60124b5b05 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 18 Dec 2007 09:49:06 +0000 Subject: - Patch #195073 by yshed and quicksketch: make DnD functionality work on IE7. --- misc/tabledrag.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'misc/tabledrag.js') 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; } }; -- cgit v1.2.3