Skip to content
Permalink
Browse files

draggable: ui.absolutePosition, wasn't updated through plugins, fixes…

… #3002
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jun 30, 2008
1 parent c32255f commit 3603a87d7d4a065b25f2514ff085d67773702994
Showing with 1 addition and 0 deletions.
  1. +1 −0 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() {

0 comments on commit 3603a87

Please sign in to comment.
You can’t perform that action at this time.