Changeset 22789
- Timestamp:
- 11/21/2012 08:17:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/plupload/wp-plupload.js
r22788 r22789 212 212 }); 213 213 214 this.uploader.bind( 'Error', function( up, error ) {214 this.uploader.bind( 'Error', function( up, pluploadError ) { 215 215 var message = pluploadL10n.default_error, 216 216 key; … … 218 218 // Check for plupload errors. 219 219 for ( key in Uploader.errorMap ) { 220 if ( error.code === plupload[ key ] ) {220 if ( pluploadError.code === plupload[ key ] ) { 221 221 message = Uploader.errorMap[ key ]; 222 222 break; … … 224 224 } 225 225 226 self.error( message, error, error.file );226 error( message, pluploadError, pluploadError.file ); 227 227 up.refresh(); 228 228 });
Note: See TracChangeset
for help on using the changeset viewer.