Skip to content

Commit

Permalink
Remove check for chunkArgs.cancelled - probably some legacy code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayarjo committed Jan 16, 2013
1 parent b5b2a9e commit 0af5fa1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/plupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1121,12 +1121,6 @@ plupload.Uploader = function(settings) {

up.trigger('ChunkUploaded', file, chunkArgs);

// Stop upload
if (chunkArgs.cancelled) {
file.status = plupload.FAILED;
return;
}

file.loaded = Math.min(file.size, (chunk + 1) * chunkSize);
} else {
file.loaded = file.size;
Expand Down

0 comments on commit 0af5fa1

Please sign in to comment.