Last modified: 2013-10-23 18:17:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37257, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35257 - jQuery.makeCollapsible.js: Initial collapse state is not respected for nested tables
jQuery.makeCollapsible.js: Initial collapse state is not respected for nested...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-16 10:41 UTC by Porter21
Modified: 2013-10-23 18:17 UTC (History)
6 users (show)

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Porter21 2012-03-16 10:41:59 UTC
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.
Comment 1 Lupo 2012-03-16 11:32:50 UTC
Confirmed. That one, too, appears to be fixed by the rewrite of jquery.makeCollapsible() in bug 34876.
Comment 2 Bartosz Dziewoński 2013-07-06 19:57:25 UTC
I can no longer reproduce this using the steps provided. Can you verify?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links