[wp-trac] [WordPress Trac] #31334: Customizer JS API should handle container removal from document
WordPress Trac
noreply at wordpress.org
Tue Sep 6 19:11:13 UTC 2016
#31334: Customizer JS API should handle container removal from document
-------------------------------------+-------------------------------------
Reporter: Aniruddh | Owner: westonruter
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Customize | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: javascript,
has-unit-tests | administration
-------------------------------------+-------------------------------------
Comment (by westonruter):
As discussed in Slack, we may need to use `jQuery#detatch` instead of
`jQuery#remove`, since `remove` will destroy added event listeners,
causing the control to be inert if it is attempted to be re-added after it
is removed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31334#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list