Make WordPress Core

Changeset 20467


Ignore:
Timestamp:
04/14/2012 07:51:55 PM (13 years ago)
Author:
azaozz
Message:

Plupload: no need to reset the queue when one file fails (handled internally), see #20422

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/plupload/handlers.dev.js

    r20463 r20467  
    5151                up.stop(); // stops the whole queue
    5252                up.removeFile(file);
    53 
    54                 for ( done in up.files ) {
    55                     // remove files that have been uploaded or have returned errors
    56                     if ( up.files[done].status > 2 )
    57                         up.removeFile( up.files[done] );
    58                 }
    59                 // restart the queue
    60                 up.start();
     53                up.start(); // restart the queue
    6154            }
    6255        }, 10000); // wait for 10 sec. for the file to start uploading
Note: See TracChangeset for help on using the changeset viewer.