I'm not sure why we don't reuse the same dialog object for each invocation of the media popup. It means that for N pieces of media inserted into the WYSIWYG we need N memory allocations and add N amounts of markup to the page.

http://skitch.com/jameselliott/dkmj6/firebug-qyennx-your-site-slogan-goe...

The popup should ideally be a single dialog with a single reference.

Comments

JacobSingh’s picture

This is still an issue, right?

idflood’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

I think it has been fixed. At least, when I tried to open / close and sometimes upload an image, the popup is always removed from the DOM when the popup is closed.

dave reid’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.