Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5581 closed bug (fixed)

_setOption being called with 'self' rather than 'this'

Reported by: jquery@… Owned by:
Priority: blocker Milestone: 1.8.2
Component: ui.sortable Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:


In the _setOption method the following line appears:

$.Widget.prototype._setOption.apply(self, arguments); (line 3049 in the current full source code library)

Under some complex conditions in our code, self points to the window, not the sortable object. Changing 'self' to 'this' makes everything good.

Note: I haven't spent enough time in this code to be that this change is valid. If it's really required, maybe I can produce a test case that shows the problem, but at this point, the code is intertwined with a jquery.linkselect

Change History (3)

comment:1 Changed 13 years ago by rdworth

Milestone: TBD1.9
Priority: majorblocker

comment:2 Changed 13 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in a4488af

comment:3 Changed 13 years ago by rdworth

Note: See TracTickets for help on using tickets.