r1487 - trunk/ui
r1487 - trunk/ui
Author: scott.gonzalez
Date: Fri Jan 2 21:42:21 2009
New Revision: 1487
Modified:
trunk/ui/ui.draggable.js
Log:
Draggable: Partial fix for #3726: Using this._trigger() instead of
this.element.triggerHandler().
Modified: trunk/ui/ui.draggable.js
==============================================================================
--- trunk/ui/ui.draggable.js (original)
+++ trunk/ui/ui.draggable.js Fri Jan 2 21:42:21 2009
@@ -340,7 +340,8 @@
_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: {},