Skip to content

Commit

Permalink
Assume false response from server means we've gone past the upload pr…
Browse files Browse the repository at this point in the history
…ocess.
  • Loading branch information
1stvamp committed Jul 17, 2011
1 parent 12f1e2c commit 7063616
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jquery.uploadProgress.js
Expand Up @@ -112,6 +112,9 @@ jQuery.uploadProgress = function(e, options) {
if (upload.state == 'error') { if (upload.state == 'error') {
options.error(upload); options.error(upload);
} }
} else {
// Null/false/empty response, assume we're out of process
options.success(upload);
} }
} }
}); });
Expand Down

0 comments on commit 7063616

Please sign in to comment.