From 3603a87d7d4a065b25f2514ff085d67773702994 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Mon, 30 Jun 2008 13:15:00 +0000 Subject: [PATCH] draggable: ui.absolutePosition, wasn't updated through plugins, fixes #3002 --- ui/ui.draggable.js | 1 + 1 file changed, 1 insertion(+) 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() {