Permalink
Browse files

Assume false response from server means we've gone past the upload pr…

…ocess.
  • Loading branch information...
1stvamp committed Jul 17, 2011
1 parent 12f1e2c commit 70636162eb8efc8fa6d15c5a5ee399297fafd4d9
Showing with 3 additions and 0 deletions.
  1. +3 −0 jquery.uploadProgress.js
View
@@ -112,6 +112,9 @@ jQuery.uploadProgress = function(e, options) {
if (upload.state == 'error') {
options.error(upload);
}
+ } else {
+ // Null/false/empty response, assume we're out of process
+ options.success(upload);
}
}
});

0 comments on commit 7063616

Please sign in to comment.