r1598 - trunk/ui
r1598 - trunk/ui
Author: scott.gonzalez
Date: Mon Jan 12 18:51:13 2009
New Revision: 1598
Modified:
trunk/ui/ui.draggable.js
Log:
Draggable: Reverted r1597 - no idea if there are cases that need to be
handled that aren't in the test suite.
Modified: trunk/ui/ui.draggable.js
==============================================================================
--- trunk/ui/ui.draggable.js (original)
+++ trunk/ui/ui.draggable.js Mon Jan 12 18:51:13 2009
@@ -370,6 +370,7 @@
_trigger: function(type, event) {
$.ui.plugin.call(this, type, [event, this._uiHash()]);
+ if(type == "drag") this.positionAbs =
this._convertPositionTo("absolute"); //The absolute position has to be
recalculated after plugins
$.widget.prototype._trigger.call(this, type, event, this._uiHash());
return event.returnValue;
},