Skip to content

Commit

Permalink
Draggable: Partial fix for #3726: Using this._trigger() instead of th…
Browse files Browse the repository at this point in the history
…is.element.triggerHandler().
  • Loading branch information
scottgonzalez committed Jan 3, 2009
1 parent 8b9312a commit f65478c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/ui.draggable.js
Expand Up @@ -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: {},
Expand Down

0 comments on commit f65478c

Please sign in to comment.