From e715628c3061c0e4d34bf9a44f0814c345cf52f0 Mon Sep 17 00:00:00 2001 From: Akash Subramaniam Sethumurugan Date: Sun, 1 May 2022 18:21:13 -0400 Subject: [PATCH 1/3] uploaded dataset failed --- public/script/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/script/app.js b/public/script/app.js index 440774da..b0d3f4db 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -1635,7 +1635,11 @@ module.controller('stepFourController', ['$scope', '$state', '$http', 'swalServi $scope.update_ar_ready(); } - }, function (resp) { + }, function(err) { + alert('The data set failed to upload'); + }, + + function (resp) { $scope.showUploadProgress = false; alert('Something wrong with the uploaded data set'); From daabb83004ffd4583f35eaad92602233a1691893 Mon Sep 17 00:00:00 2001 From: Akash Subramaniam Sethumurugan Date: Sun, 1 May 2022 18:24:06 -0400 Subject: [PATCH 2/3] uploaded dataset failed --- public/script/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/script/app.js b/public/script/app.js index b0d3f4db..26b6b9a8 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -1680,7 +1680,10 @@ module.controller('stepFourController', ['$scope', '$state', '$http', 'swalServi $scope.showUploadProgress = false; alert('Something wrong with the uploaded data set'); - }, function (evt) { + }, function(err) { + alert('The data set failed to upload'); + }, + function (evt) { $scope.showUploadProgress = true; $scope.progressPercentage = parseInt(100.0 * evt.loaded / evt.total); From 9c0592e7db0a49b957dffb85a0a3391a83e6e8df Mon Sep 17 00:00:00 2001 From: Akash Subramaniam Sethumurugan Date: Sun, 1 May 2022 18:35:15 -0400 Subject: [PATCH 3/3] uploaded dataset failed --- public/script/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/script/app.js b/public/script/app.js index 26b6b9a8..a16d620c 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -1965,7 +1965,11 @@ module.controller('stepSixController', ['$scope', '$state', '$http', 'Upload', ' $scope.showUploadProgress = false; alert('Something wrong with the uploaded data set'); - }, function (evt) { + }, function(err) { + alert('The data set failed to upload'); + }, + + function (evt) { $scope.showUploadProgress = true; $scope.progressPercentage = parseInt(100.0 * evt.loaded / evt.total);