Commit 9c835a88 authored by Dries's avatar Dries
Browse files

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

parent 83bde0f5
......@@ -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;
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment