[wp-trac] [WordPress Trac] #29689: Drag-and-drop media upload fails if the Media Library has already been opened and closed manually
WordPress Trac
noreply at wordpress.org
Thu Oct 16 05:53:17 UTC 2014
#29689: Drag-and-drop media upload fails if the Media Library has already been
opened and closed manually
--------------------------+-----------------------------
Reporter: cfinke | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses: javascript
--------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29917"]:
{{{
#!CommitTicketReference repository="" revision="29917"
In `wp.Uploader`, when `uploader:ready` is triggered, set `ready` to
`true` on the instance. This allows media workflows to check for an
existing uploaded instance when opening.
Without this check, workflows might wait for `uploader:ready`, which could
already have been fired. This would result in an unresponsive editor
dropzone.
Fixes #29689.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29689#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list