Opened 14 years ago

Closed 14 years ago

#4380 closed bug (fixed)

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: [email protected]
Blocked by: Blocking:


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()

Change History (2)

comment:1 Changed 14 years ago by Scott González

Milestone: TBD1.8

comment:2 Changed 14 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in #3106.

Note: See TracTickets for help on using tickets.