Media: Properly render any pre-existing upload errors in the uploader status. see #21390.

git-svn-id: https://develop.svn.wordpress.org/trunk@22823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2012-11-22 12:24:54 +00:00
parent 6841b73925
commit e572052ab8
1 changed files with 1 additions and 0 deletions

View File

@ -1831,6 +1831,7 @@
this.errors = wp.Uploader.errors;
this.errors.on( 'add remove reset', this.visibility, this );
this.errors.on( 'add', this.error, this );
_.each( this.errors.models, this.error, this );
},
dispose: function() {