Make WordPress Core

Changeset 24110


Ignore:
Timestamp:
04/26/2013 03:10:06 PM (11 years ago)
Author:
markjaquith
Message:

Fix the appearance of a blank media item due to [23893].

props kovshenin. fixes #24094.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-models.js

    r23893 r24110  
    572572        },
    573573
    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 
    581574        _requery: function() {
    582575            if ( this.props.get('query') )
Note: See TracChangeset for help on using the changeset viewer.