diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-12-18 09:49:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-12-18 09:49:06 +0000 |
commit | 9c835a88ca47ef10acb601d037490d60124b5b05 (patch) | |
tree | 16fc8e11d89d07d1989aacf929d78f33e9f8fa43 /misc/tabledrag.js | |
parent | 83bde0f54754ba68351f00ce512333f78a999f4f (diff) | |
download | brdo-9c835a88ca47ef10acb601d037490d60124b5b05.tar.gz brdo-9c835a88ca47ef10acb601d037490d60124b5b05.tar.bz2 |
- Patch #195073 by yshed and quicksketch: make DnD functionality work on IE7.
Diffstat (limited to 'misc/tabledrag.js')
-rw-r--r-- | misc/tabledrag.js | 4 |
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; } }; |