Ticket #2771 (closed bug: fixed)
jQuery.index cannot index the jQuery object
|Reported by:||ericsk||Owned by:||flesler|
While using jQuery.index like this:
... var target = $(e.target); var target_index = $('.item').index(target); ...
it always returns -1 (i.e. NOT FOUND).
I suggest to apply the patch in the attachment to core.js (revision 5375).
- need changed from Review to Commit
- Owner set to flesler
- Status changed from new to assigned
- Status changed from assigned to closed
- Resolution set to fixed