Search and Top Navigation
#5581 closed bug (fixed)
Opened May 05, 2010 02:55AM UTC
Closed May 05, 2010 01:05PM UTC
Last modified May 20, 2010 11:14AM UTC
_setOption being called with 'self' rather than 'this'
Reported by: | jquery@digiproofs.com | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.2 |
Component: | ui.sortable | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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