diff --git a/IncBackups/static/IncBackups/IncBackups.js b/IncBackups/static/IncBackups/IncBackups.js index 5e659fba7..a75dd1869 100644 --- a/IncBackups/static/IncBackups/IncBackups.js +++ b/IncBackups/static/IncBackups/IncBackups.js @@ -1321,7 +1321,7 @@ app.controller('restorev2backupoage', function ($scope, $http, $timeout, $compil function ListInitialDatas(response) { if (response.data.abort === 1) { - + $scope.backupLoading = true; if (response.data.installStatus === 1) { $scope.webSiteCreationLoading = true; @@ -1338,6 +1338,7 @@ app.controller('restorev2backupoage', function ($scope, $http, $timeout, $compil $timeout.cancel(); } else { + $scope.backupLoading = true; $scope.webSiteCreationLoading = true; $scope.installationDetailsForm = true; $scope.installationProgress = false; @@ -1381,6 +1382,8 @@ app.controller('restorev2backupoage', function ($scope, $http, $timeout, $compil $scope.RestorePathV2 = function (SnapshotId, Path) { + $scope.backupLoading = false; + SnapshotId = document.getElementById('Snapshot_id').innerText Path = document.getElementById('Snapshot_Path_id').innerText console.log("SnapshotId: " + SnapshotId) @@ -1663,7 +1666,6 @@ app.controller('CreateV2Backup', function ($scope, $http, $timeout, $compile) { function ListInitialDatas(response) { - $scope.backupLoading = true; if (response.data.status === 1) { Domain = $scope.selwebsite; @@ -1715,7 +1717,7 @@ app.controller('CreateV2Backup', function ($scope, $http, $timeout, $compile) { function ListInitialDatas(response) { if (response.data.abort === 1) { - + $scope.backupLoading = true; if (response.data.installStatus === 1) { $scope.webSiteCreationLoading = true; diff --git a/IncBackups/templates/IncBackups/ConfigureV2Backup.html b/IncBackups/templates/IncBackups/ConfigureV2Backup.html index 7e5315df7..61f34003a 100644 --- a/IncBackups/templates/IncBackups/ConfigureV2Backup.html +++ b/IncBackups/templates/IncBackups/ConfigureV2Backup.html @@ -13,7 +13,7 @@
{% trans "This page can be used to restore your backup sites" %}
+ {% trans "Restore V2 Backups" %}
