aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-06-30 13:15:00 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-06-30 13:15:00 +0000
commit3603a87d7d4a065b25f2514ff085d67773702994 (patch)
tree07d7b1a5035125ef6df5ffcf5b94dbe012e08fd9 /ui/ui.draggable.js
parentc32255fcfafd5c10a34dfdd17f09f861eda1d8d6 (diff)
downloadjquery-ui-3603a87d7d4a065b25f2514ff085d67773702994.tar.gz
jquery-ui-3603a87d7d4a065b25f2514ff085d67773702994.zip
draggable: ui.absolutePosition, wasn't updated through plugins, fixes #3002
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 af4615607..6dd939b1f 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -252,6 +252,7 @@ $.widget("ui.draggable", $.extend($.ui.mouse, {
},
propagate: function(n,e) {
$.ui.plugin.call(this, n, [e, this.uiHash()]);
+ if(n == "drag") this.positionAbs = this.convertPositionTo("absolute"); //The absolute position has to be recalculated after plugins
return this.element.triggerHandler(n == "drag" ? n : "drag"+n, [e, this.uiHash()], this.options[n]);
},
destroy: function() {