Bug Tracker

Ticket #2875 (closed bug: wontfix)

Opened 4 months ago

Last modified 4 months ago

UI : Draggable ui.instance undefined

Reported by: Butcho Assigned to: paul
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: draggable ui.instance
Cc: Needs: Patch

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

Change History

Changed 4 months ago by scott.gonzalez

  • status changed from new to closed
  • resolution set to wontfix

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.