[wp-trac] [WordPress Trac] #15621: Media upload links can be clicked before Lightbox JS is ready.
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 1 06:53:56 UTC 2010
#15621: Media upload links can be clicked before Lightbox JS is ready.
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version: 3.1
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15621>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list