Search and Top Navigation
#4380 closed bug (fixed)
Opened March 20, 2009 08:20PM UTC
Closed August 22, 2009 08:10AM UTC
draggable start callback returns undefined ui.offset and ui.position
Reported by: | DRHansen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8 |
Component: | ui.draggable | Version: | 1.7.1 |
Keywords: | start ui offset position | Cc: | drhansen@yahoo.com |
Blocked by: | Blocking: |
Description
this.position and this.positionAbs are not set before calling
this._trigger("start", event) in _mouseStart:
If they are set by adding:
// 2009-03-20 14:14:12 DRH //Compute the helpers position this.position = this._generatePosition(event); this.positionAbs = this._convertPositionTo("absolute");
just before:
//Call plugins and callbacks this._trigger("start", event);
proper values are available for _uiHash() when it creates
the ui object in _trigger()