Media upload links can be clicked before Lightbox JS is ready.
|Reported by:||markjaquith||Owned by:|
The media upload links can be clicked before the Lightbox JS is ready. This results in the iframe content taking over the whole window (as the browser just follows the link). This issue is exacerbated when a site or an Internet connection is slow, as the window between display and JS "readiness" is larger.
Quick solution: onclick="return false;" which is removed when we're ready to go.
Long term solution: we should queue clicks of JS-powered actions and then fire them off when we're loaded.