Bug Tracker

Opened 16 years ago

Closed 15 years ago

#886 closed enhancement (fixed)

accordion: using it on tr elements

Reported by: [email protected] Owned by: joern
Priority: major Milestone:
Component: plugin Version:
Keywords: accordion, table Cc:
Blocked by: Blocking:

Description (last modified by joern)

if you're using the accorion plugin with <tr> as headers, it does not work because you click on a <td> or <th> instead of the real header (<tr>)

this fixes this problem:

//if target is not header, get parent
if( !clicked.is(settings.header))
    clicked = clicked.parents(settings.header);

inserted before the if(running ...) check

Change History (2)

comment:1 Changed 16 years ago by joern

Description: modified (diff)
need: Review
Owner: changed from john to joern

comment:2 Changed 15 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in latest revision.

Note: See TracTickets for help on using tickets.