Bug Tracker

Opened 13 years ago

Closed 12 years ago

#886 closed enhancement (fixed)

accordion: using it on tr elements

Reported by: blop@… 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 13 years ago by joern

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

comment:2 Changed 12 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in latest revision.

Note: See TracTickets for help on using tickets.