Ticket #19001: 19001.1.patch
| File 19001.1.patch, 1.0 KB (added by , 15 years ago) |
|---|
-
wp-includes/js/plupload/handlers.dev.js
6 6 7 7 // progress and success handlers for media multi uploads 8 8 function fileQueued(fileObj) { 9 if ( fileIsQueued(fileObj) ) 10 return true; 9 11 // Get rid of unused form 10 12 jQuery('.media-blank').remove(); 11 13 // Collapse a single item … … 24 26 jQuery('#cancel-upload').prop('disabled', false); 25 27 } 26 28 29 // see if the file is in the queue 30 function fileIsQueued(fileObj) { 31 return 1 == jQuery('#media-item-' + fileObj.id ,jQuery('#media-items')).length; 32 } 33 27 34 function uploadStart(fileObj) { 28 35 try { 29 36 if ( typeof topWin.tb_remove != 'undefined' ) … … 435 442 }); 436 443 437 444 uploader.bind('Error', function(up, err) { 445 if ( !fileIsQueued(err.file) ) 446 fileQueued(err.file); 438 447 uploadError(err.file, err.code, err.message); 439 448 440 449 up.refresh();
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)