#765 closed bug (fixed)
.parents does not work in 1.1a
Reported by: | himynameiznate | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1 |
Component: | core | Version: | 1.1a |
Keywords: | parents ancestors | Cc: | |
Blocked by: | Blocking: |
Description
In versions < 1.1a, $('SELECTOR').parents() returned either an array of parent elements, or if given passed an argument, looked for parents with the passed tagname, however in 1.1a, $('SELECTOR').parents() and $('SELECTOR').parents('TAG') returns nothing.
When trying to find the parents of a clicked object in Firefox, Firebug spits out this error: fn is not a function map([a.edit_tag javascript:;], undefined)jquery.js (line 584) (no name)(undefined)jquery.js (line 639) editTag(click clientX=0, clientY=0, undefined)tag_manager.js (line 64) handle(click clientX=0, clientY=0)jquery.js (line 1206) [Break on this error] var val = fn(elems[i],i);
Fixed in SVN.