[wp-trac] [WordPress Trac] #34465: Uploader in Media Modal Not Working When Certain Library Arguments Present
WordPress Trac
noreply at wordpress.org
Mon Sep 18 00:16:16 UTC 2017
#34465: Uploader in Media Modal Not Working When Certain Library Arguments Present
-----------------------------------------+------------------------------
Reporter: Funkatronic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.0
Severity: normal | Resolution:
Keywords: has-screenshots needs-patch | Focuses: ui
-----------------------------------------+------------------------------
Comment (by barryceelen):
A quick fix for this problem might be explicitly telling your frame's
library to observe the `wp.Uploader.queue`.
Using the [https://core.trac.wordpress.org/ticket/34465#comment:3 example]
by @Funkatronic:
{{{
#!js
frame.states.get('library').get('library').observe( wp.Uploader.queue );
}}}
Note that this disregards any possible
[https://core.trac.wordpress.org/ticket/34465#comment:15 implications
mentioned] by @nikolov.tmw.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34465#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list