- Patch #195073 by yshed and quicksketch: make DnD functionality work on IE7.
parent
83bde0f547
commit
9c835a88ca
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue