Side navigation
#886 closed enhancement (fixed)
Opened January 25, 2007 03:41PM UTC
Closed March 08, 2008 10:51AM UTC
accordion: using it on tr elements
| Reported by: | blop@nothing.ch | Owned by: | joern | 
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | plugin | Version: | |
| Keywords: | accordion, table | Cc: | |
| Blocked by: | Blocking: | 
Description
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
Attachments (0)
Change History (2)
Changed June 20, 2007 09:59PM UTC by comment:1
| description: | 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 → 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 | 
|---|---|
| need: | → Review | 
| owner: | john → joern | 
Changed March 08, 2008 10:51AM UTC by comment:2
| resolution: | → fixed | 
|---|---|
| status: | new → closed | 
Fixed in latest revision.