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:
Mark Jaquith 2013-04-26 15:10:06 +00:00
parent f79808af0e
commit 82df929f30

View File

@ -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() ) );