[wp-trac] [WordPress Trac] #31846: Using the browser's Back and Forward buttons doesn't update the media library
WordPress Trac
noreply at wordpress.org
Fri Sep 18 00:13:31 UTC 2015
- Previous message: [wp-trac] [WordPress Trac] #21455: HiDPI (retina) theme custom backgrounds
- Next message: [wp-trac] [WordPress Trac] Batch modify: #31840, #31856, #31851, #31861, #31868, #31870, #31871, #31857, #31858, #31853, #31863, #31864, #31860, #31855, #31867, #31859, #31862
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
#31846: Using the browser's Back and Forward buttons doesn't update the media
library
-------------------------------------+-----------------------------
Reporter: Faison | Owner: wonderboymusic
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Media | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-----------------------------
Changes (by kucrut):
* keywords: needs-patch => has-patch needs-testing
Comment:
What [attachment:31846.diff 31846.diff] does:
- Adds a new `reset` route (`upload.php`) that closes the frame.
- Fixes the `showItem` route to make sure clicking the back/forward button
also updates the frame content.
- Fixes the delete button to make sure the frame is closed when the
attachment being edited is deleted (previously the frame only closes when
you delete the initial attachment loaded).
- Fixes the search handler to make sure the address and the search input
value are in sync and prevents it from modifying the address when you
initially load the page with a specified `item`.
- Store both frames in `wp.media.frames` to avoid instantiating multiple
edit frames.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31846#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
- Previous message: [wp-trac] [WordPress Trac] #21455: HiDPI (retina) theme custom backgrounds
- Next message: [wp-trac] [WordPress Trac] Batch modify: #31840, #31856, #31851, #31861, #31868, #31870, #31871, #31857, #31858, #31853, #31863, #31864, #31860, #31855, #31867, #31859, #31862
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the wp-trac
mailing list