Fix the appearance of a blank media item due to [23893].
props kovshenin. fixes #24094. git-svn-id: https://develop.svn.wordpress.org/trunk@24110 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b7fccc1d55
commit
786e5483fc
|
@ -571,13 +571,6 @@ window.wp = window.wp || {};
|
|||
return this.mirroring ? this.mirroring.hasMore() : false;
|
||||
},
|
||||
|
||||
parse: function( resp, xhr ) {
|
||||
return _.map( resp, function( attrs ) {
|
||||
var attachment = Attachment.get( attrs.id );
|
||||
return attachment.set( attachment.parse( attrs, xhr ) );
|
||||
});
|
||||
},
|
||||
|
||||
_requery: function() {
|
||||
if ( this.props.get('query') )
|
||||
this.mirror( Query.get( this.props.toJSON() ) );
|
||||
|
|
Loading…
Reference in New Issue