Bug Tracker

Modify

Ticket #765 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

.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:
Blocking: Blocked by:

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

Change History

comment:1 Changed 6 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.