chunkupload: typo: uplaod -> upload
This commit is contained in:
parent
5aeffcfb6a
commit
92a4e77f9b
1 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ pandora.chunkupload = function(options) {
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
request.addEventListener('error', function (evt) {
|
request.addEventListener('error', function (evt) {
|
||||||
that.status = 'uplaod failed';
|
that.status = 'upload failed';
|
||||||
that.progress = -1;
|
that.progress = -1;
|
||||||
that.responseText = evt.target.responseText;
|
that.responseText = evt.target.responseText;
|
||||||
done();
|
done();
|
||||||
|
@ -176,7 +176,7 @@ pandora.chunkupload = function(options) {
|
||||||
// failed to upload, try again in 5 second
|
// failed to upload, try again in 5 second
|
||||||
retries++;
|
retries++;
|
||||||
if (maxRetry > 0 && retries > maxRetry) {
|
if (maxRetry > 0 && retries > maxRetry) {
|
||||||
that.status = 'uplaod failed';
|
that.status = 'upload failed';
|
||||||
that.progress = -1;
|
that.progress = -1;
|
||||||
done();
|
done();
|
||||||
} else {
|
} else {
|
||||||
|
@ -195,7 +195,7 @@ pandora.chunkupload = function(options) {
|
||||||
// failed to upload, try again in 3 second
|
// failed to upload, try again in 3 second
|
||||||
retries++;
|
retries++;
|
||||||
if (maxRetry > 0 && retries > maxRetry) {
|
if (maxRetry > 0 && retries > maxRetry) {
|
||||||
that.status = 'uplaod failed';
|
that.status = 'upload failed';
|
||||||
that.progress = -1;
|
that.progress = -1;
|
||||||
done();
|
done();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue