[wp-trac] [WordPress Trac] #28709: Improve/introduce Customizer JS models for Controls, Sections, and Panels

WordPress Trac noreply at wordpress.org
Tue Nov 11 22:36:53 UTC 2014


#28709: Improve/introduce Customizer JS models for Controls, Sections, and Panels
-------------------------+-------------------------------
 Reporter:  westonruter  |       Owner:  ocean90
     Type:  enhancement  |      Status:  reviewing
 Priority:  high         |   Milestone:  4.1
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  javascript, docs
-------------------------+-------------------------------

Comment (by ocean90):

 In [changeset:"30307"]:
 {{{
 #!CommitTicketReference repository="" revision="30307"
 Customizer: Use `jQuery.fn.toggle()` instead of `slideUp`/`slideDown` if
 panel/section/control is not inserted into DOM yet.

 jQuery does nothing when calling `slideUp` on elements that are not
 inserted into the DOM yet, which can now be the case now when first
 loading the Customizer as the panels, sections and controls get
 dynamically inserted, see #28709.

 props westonruter.
 fixes #30251.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28709#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list