[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 11:21: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: 3.9
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 3.9
Old description:
> 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].
New description:
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.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27204#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list