Make WordPress Core

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's profile SergeyBiryukov Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Media Keywords:
Focuses: ui, javascript, administration Cc:


  1. Open the media grid.
  2. Click any image to open the modal.
  3. Click "Delete Permanently" and confirm.
  4. 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)

#1 @ocean90
10 years ago

There is already a patch for this attached to #28819.

#2 @SergeyBiryukov
10 years ago

  • Milestone 4.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #28819.

Note: See TracTickets for help on using tickets.