[wp-trac] [WordPress Trac] #36984: Customizer Menus: Show Pages at the top of the list, expanded
WordPress Trac
noreply at wordpress.org
Sun Oct 16 17:59:53 UTC 2016
#36984: Customizer Menus: Show Pages at the top of the list, expanded
-----------------------------------------+---------------------------------
Reporter: melchoyce | Owner: ryankienstra
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.7
Component: Customize | Version: 4.3
Severity: normal | Resolution:
Keywords: needs-patch has-screenshots | Focuses: ui, administration
-----------------------------------------+---------------------------------
Comment (by ryankienstra):
'''Bug In Expanding "Pages"'''
Hi @westonruter,
Sure, I'll look at the bug that @celloexpressions
[https://core.trac.wordpress.org/ticket/36984#trac-
change-14-1476560594816819 found]. This is probably because the
[https://github.com/xwp/wordpress-develop/pull/158/files#diff-
027b34627f17d21422fd5065315a6226R401 logic that opens] the "Pages" section
triggers a `.click()`event:
```availableMenuItemContainer.find( '.accordion-section-title > button'
).click();```
Normally, this would use a Customizer model, and call `.expand()`. But I
couldn't find a model of this [https://github.com/xwp/wordpress-
develop/compare/trac-36984?expand=1#diff-
027b34627f17d21422fd5065315a6226R382 .accordion-section.].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36984#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list