Make WordPress Core

Ticket #6979: swfupload.5.diff

File swfupload.5.diff, 516 bytes (added by filosofo, 16 years ago)
  • wp-includes/js/swfupload/handlers.js

     
    205205        }
    206206}
    207207
     208function swfuploadPreLoad() {
     209        return true;
     210}
     211
     212function swfuploadLoadFailed() {
     213        return true;
     214}
     215
    208216function uploadError(fileObj, error_code, message) {
    209217        // first the file specific error
    210218        if ( error_code == SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL ) {