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

git-svn-id: http://core.svn.wordpress.org/trunk@22823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2012-11-22 12:24:54 +00:00
parent 14af860aab
commit c5991558be

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() {