[wp-trac] [WordPress Trac] #29367: Media Modal: the progress bar for each attachment no longer shows upload progress
WordPress Trac
noreply at wordpress.org
Mon Aug 25 22:01:54 UTC 2014
#29367: Media Modal: the progress bar for each attachment no longer shows upload
progress
--------------------------+------------------------------
Reporter: gcorne | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+------------------------------
Changes (by gcorne):
* keywords: => has-patch
Comment:
[attachment:29367-01.patch 29367-01.patch] fixes the issue by
incorporating the percentage of progress into the template that is used to
render. So when the change event is firing a re-render, the current
percentage is reflected in the width of the progress bar. I handled it
this way instead of calling {{{this.progress()}}} after
{{{this.$el.html()}}} so that the progress bar wouldn't flicker.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29367#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list