Opened 14 years ago
Closed 14 years ago
#22504 closed defect (bug) (fixed)
Custom Header should reuse existing media frame
| Reported by: | duck_ | Owned by: | koopersmith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Potentially the cause of #22460