aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-01-13 02:51:13 +0000
committerScott González <scott.gonzalez@gmail.com>2009-01-13 02:51:13 +0000
commitca44391e5c858aeb5025755380018012e80be868 (patch)
tree7a4520aa6cc266d41604f75ff322688442c740f3 /ui/ui.draggable.js
parent99840f323e8fbd56378ad137185b076fe77fe257 (diff)
downloadjquery-ui-ca44391e5c858aeb5025755380018012e80be868.tar.gz
jquery-ui-ca44391e5c858aeb5025755380018012e80be868.zip
Draggable: Reverted r1597 - no idea if there are cases that need to be handled that aren't in the test suite.
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 7aec8f964..cbc686575 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -370,6 +370,7 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
_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;
},