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:
parent
14af860aab
commit
c5991558be
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue