Skip to main content

Bug Tracker

Side navigation

#2875 closed bug (wontfix)

Opened May 15, 2008 12:28PM UTC

Closed May 20, 2008 02:56AM UTC

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:
Description

Hello,

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

Attachments (0)
Change History (1)

Changed May 20, 2008 02:56AM UTC by scott.gonzal comment:1

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.