aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.draggable.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 8f9d8682e..d31003ee1 100644
--- a/ui/ui.draggable.js
+++ b/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: {},