mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-01 00:27:38 +02:00
Fix the appearance of a blank media item due to [23893].
props kovshenin. fixes #24094. git-svn-id: http://core.svn.wordpress.org/trunk@24110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f79808af0e
commit
82df929f30
@ -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
Block a user