mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
fix spinner and restart behaviour for manual content upload
This commit is contained in:
parent
2faa67c68d
commit
5dd74674ef
1 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue