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:
parent
6841b73925
commit
e572052ab8
@ -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…
x
Reference in New Issue
Block a user