Add info on what cleanup backups does
This commit is contained in:
@@ -205,6 +205,10 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
|
||||
});
|
||||
},
|
||||
|
||||
cleanupBackups: function (backup) {
|
||||
$('#cleanupBackupsModal').modal('show');
|
||||
},
|
||||
|
||||
startCleanup: function () {
|
||||
$scope.createBackup.busy = true;
|
||||
$scope.createBackup.percent = 0;
|
||||
@@ -212,6 +216,8 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
|
||||
$scope.createBackup.errorMessage = '';
|
||||
$scope.createBackup.taskType = 'cleanBackups';
|
||||
|
||||
$('#cleanupBackupsModal').modal('hide');
|
||||
|
||||
Client.cleanupBackups(function (error, taskId) {
|
||||
if (error) console.error(error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user