#15621 closed defect (bug) (fixed)
Media upload links can be clicked before Lightbox JS is ready.
Reported by: | markjaquith | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
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.
Note: See
TracTickets for help on using
tickets.
(In [16646]) Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621