https://bugzilla.wikimedia.org/show_bug.cgi?id=35257

       Web browser: ---
             Bug #: 35257
           Summary: jQuery.makeCollapsible.js: Initial collapse state is
                    not respected for nested tables
           Product: MediaWiki
           Version: 1.18.1
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to