Opened 10 years ago
Closed 10 years ago
#29057 closed defect (bug) (duplicate)
Media Grid: "Delete Permanently" link should close the modal
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | |
Focuses: | ui, javascript, administration | Cc: |
Description
- Open the media grid.
- Click any image to open the modal.
- Click "Delete Permanently" and confirm.
- The image is deleted in the background, but you don't see that until you refresh the page or close the modal.
If you refresh the page and there are no more images (but the URL is still /wp-admin/upload.php?item=123
), you'll see the same TypeError: this.model is undefined
error mentioned in #29052.
Change History (2)
Note: See
TracTickets for help on using
tickets.
There is already a patch for this attached to #28819.