Opened 12 years ago
Closed 12 years ago
#22504 closed defect (bug) (fixed)
Custom Header should reuse existing media frame
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
Unlike custom-background.js, custom-header.js doesn't attempt to reuse an existing media frame. See [22502] and [22505].
This causes strange behaviour when closing and re-opening the media modal, e.g.
- Click "Choose Image"
- Close the modal
- Click "Choose Image"
- Attempt to go to the "Upload Files" tab
Expected: go to upload files
Actual: file browser opens because a new uploader instance was created with no left/bottom positioning CSS and blocks the link text
(NB: this missing CSS when multiple uploaders are created sounds like a potential issue elsewhere too)
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Potentially the cause of #22460