From 92a4e77f9b5ef0693605ae50b7072809b140214e Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 28 Jun 2016 15:59:16 +0100 Subject: [PATCH] chunkupload: typo: uplaod -> upload --- static/js/chunkupload.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/chunkupload.js b/static/js/chunkupload.js index ba83a096..2d37d807 100644 --- a/static/js/chunkupload.js +++ b/static/js/chunkupload.js @@ -89,7 +89,7 @@ pandora.chunkupload = function(options) { } }, false); request.addEventListener('error', function (evt) { - that.status = 'uplaod failed'; + that.status = 'upload failed'; that.progress = -1; that.responseText = evt.target.responseText; done(); @@ -100,7 +100,7 @@ pandora.chunkupload = function(options) { done(); }, false); var formData = new FormData(); - + Object.keys(options.data).forEach(function(key) { formData.append(key, options.data[key]); }); @@ -176,7 +176,7 @@ pandora.chunkupload = function(options) { // failed to upload, try again in 5 second retries++; if (maxRetry > 0 && retries > maxRetry) { - that.status = 'uplaod failed'; + that.status = 'upload failed'; that.progress = -1; done(); } else { @@ -195,7 +195,7 @@ pandora.chunkupload = function(options) { // failed to upload, try again in 3 second retries++; if (maxRetry > 0 && retries > maxRetry) { - that.status = 'uplaod failed'; + that.status = 'upload failed'; that.progress = -1; done(); } else {