- Patch #195073 by yshed and quicksketch: make DnD functionality work on IE7.

6.x
Dries Buytaert 2007-12-18 09:49:06 +00:00
parent 83bde0f547
commit 9c835a88ca
1 changed files with 1 additions and 3 deletions

View File

@ -88,7 +88,7 @@ Drupal.tableDrag = function(table, tableSettings) {
// Add mouse bindings to the document. The self variable is passed along // Add mouse bindings to the document. The self variable is passed along
// as event handlers do not have direct access to the tableDrag object. // 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); }); $(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); self.indentCount = Math.max(self.indentCount, self.rowObject.indents);
} }
} }
return false;
} }
}; };