Ticket #24094: 24094.diff
File 24094.diff, 620 bytes (added by , 12 years ago) |
---|
-
wp-includes/js/media-models.js
571 571 return this.mirroring ? this.mirroring.hasMore() : false; 572 572 }, 573 573 574 parse: function( resp, xhr ) {575 return _.map( resp, function( attrs ) {576 var attachment = Attachment.get( attrs.id );577 return attachment.set( attachment.parse( attrs, xhr ) );578 });579 },580 581 574 _requery: function() { 582 575 if ( this.props.get('query') ) 583 576 this.mirror( Query.get( this.props.toJSON() ) );