Changeset 22709
- Timestamp:
- 11/20/2012 11:52:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/plupload/wp-plupload.js
r22543 r22709 195 195 return error( response.data.message, response.data, file ); 196 196 197 _.each(['file','loaded','size',' uploading','percent'], function( key ) {197 _.each(['file','loaded','size','percent'], function( key ) { 198 198 file.attachment.unset( key ); 199 199 }); 200 200 201 file.attachment.set( response.data);201 file.attachment.set( _.extend( response.data, { uploading: false }) ); 202 202 wp.media.model.Attachment.get( response.data.id, file.attachment ); 203 203
Note: See TracChangeset
for help on using the changeset viewer.