Page MenuHomePhabricator

jQuery.makeCollapsible.js: Initial collapse state is not respected for nested tables
Closed, ResolvedPublic


Author: remus

Consider the following example:

{| class="mw-collapsible mw-collapsed"


! Outer table


{| class="mw-collapsible mw-collapsed"


! Nested table

Should be collapsed initially

When the outer table is expanded, all rows of the nested table are expanded as well even though the nested table is set to be collapsed initially. The collapse caption of the inner table then reads as "Expand" (despite the table's content already being shown) and the first click on the label will only change the label to "Collapse".

Expected behaviour would be that only the header row of the nested table is shown when the outer table is expanded.

Version: 1.18.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:11 AM
bzimport set Reference to bz35257.
bzimport added a subscriber: Unknown Object (MLST).

Confirmed. That one, too, appears to be fixed by the rewrite of jquery.makeCollapsible() in bug 34876.

I can no longer reproduce this using the steps provided. Can you verify?