Skip to main content

Bug Tracker

Side navigation

#765 closed bug (fixed)

Opened January 08, 2007 10:01PM UTC

Closed January 09, 2007 03:20PM UTC

Last modified June 19, 2007 09:40AM UTC

.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:

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);

Attachments (0)
Change History (1)

Changed January 09, 2007 03:20PM UTC by joern comment:1

resolution: → fixed
status: newclosed

Fixed in SVN.