fix spinner and restart behaviour for manual content upload

This commit is contained in:
Stephen Birarda 2018-02-16 17:18:28 -08:00
parent 2faa67c68d
commit 5dd74674ef

View file

@ -54,7 +54,7 @@ $(document).ready(function(){
var fileFormData = new FormData();
fileFormData.append('restore-file', files[0]);
showSpinnerAlert("Restoring Content");
showSpinnerAlert("Uploading content to restore");
$.ajax({
url: '/content/upload',
@ -65,7 +65,6 @@ $(document).ready(function(){
data: fileFormData
}).done(function(data, textStatus, jqXHR) {
swal.close();
showRestartModal();
}).fail(function(jqXHR, textStatus, errorThrown) {
showErrorMessage(
"Error",