From 5dd74674ef106559857cb256e70e7507e085fcca Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 16 Feb 2018 17:18:28 -0800 Subject: [PATCH] fix spinner and restart behaviour for manual content upload --- domain-server/resources/web/content/js/content.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/domain-server/resources/web/content/js/content.js b/domain-server/resources/web/content/js/content.js index 525b989259..4d8034eb1d 100644 --- a/domain-server/resources/web/content/js/content.js +++ b/domain-server/resources/web/content/js/content.js @@ -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",