Skip to content
Permalink
Browse files

Draggable: Partial fix for #3726: Using this._trigger() instead of th…

…is.element.triggerHandler().
  • Loading branch information...
scottgonzalez committed Jan 3, 2009
1 parent 8b9312a commit f65478c620bfea25ce2f80356c8cd66600e2edca
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/ui.draggable.js
@@ -340,7 +340,8 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
_propagate: function(n, event) {
$.ui.plugin.call(this, n, [event, 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, [event, this._uiHash()], this.options[n]);
this._trigger(n, event, this._uiHash());
return event.returnValue;
},

plugins: {},

0 comments on commit f65478c

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