[wp-trac] [WordPress Trac] #29057: Media Grid: "Delete Permanently" link should close the modal
WordPress Trac
noreply at wordpress.org
Tue Jul 29 14:07:39 UTC 2014
#29057: Media Grid: "Delete Permanently" link should close the modal
--------------------------------------------+-------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: ui, javascript, administration |
--------------------------------------------+-------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29057>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list