[wp-trac] [WordPress Trac] #27204: When closing the various "edit" media modals, the related views should be removed from the DOM
WordPress Trac
noreply at wordpress.org
Tue Feb 25 07:03:56 UTC 2014
#27204: When closing the various "edit" media modals, the related views should be
removed from the DOM
--------------------------+-----------------------------
Reporter: gcorne | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: javascript |
--------------------------+-----------------------------
The various edit modals (Edit Gallery, Edit Image Details, Edit Playlist,
and Edit Video Playlist) when closed either by clicking update or through
other means do not remove the instance of the modal and the uploader from
the DOM. During a long editing session where the edit modals are opened
multiple times, this results in DOM nodes for both the media modal and the
uploader being created each time an edit modal is opened, which is not
ideal.
Also, see [comment:43:ticket:21811 #21811].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27204>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list