Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2875 closed bug (wontfix)

UI : Draggable ui.instance undefined

Reported by: Butcho Owned by: paul
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: draggable ui.instance Cc:
Blocked by: Blocking:



I have installed jquery ui 1.5b4 and i had an issue on "ui.instance.originalPosition.top" value access. I've looked into the source files and seen that ui() function doesn't return "instance" value anymore. I added it and it fixed my problem. I'm working on IE and it seems to work fine now.

ui: function(e) {
  return {
    instance: this,
    helper: this.helper,
    position: this.position,
    absolutePosition: this.positionAbs,
    options: this.options			

Hope this helps.

Regards. Butcho

Change History (1)

comment:1 Changed 15 years ago by scott.gonzal

Resolution: wontfix
Status: newclosed

Direct access to the plugin instance was intentionally removed. If you need data that you absolutely cannot get any other way, please create a new ticket as a feature request for making that piece of data available.

Note: See TracTickets for help on using tickets.