do not reset password and other settings on provider change

This commit is contained in:
Girish Ramakrishnan
2020-05-12 21:41:35 -07:00
parent 68642e056c
commit 164480834a
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -250,7 +250,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
format: 'tgz',
password: '',
clearForm: function () {
clearProviderFields: function () {
$scope.configureBackup.bucket = '';
$scope.configureBackup.prefix = '';
$scope.configureBackup.accessKeyId = '';
@@ -260,13 +260,9 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
$scope.configureBackup.endpoint = '';
$scope.configureBackup.region = '';
$scope.configureBackup.backupFolder = '';
$scope.configureBackup.retentionSecs = 7 * 24 * 60 * 60;
$scope.configureBackup.intervalSecs = 24 * 60 * 60;
$scope.configureBackup.format = 'tgz';
$scope.configureBackup.acceptSelfSignedCerts = false;
$scope.configureBackup.useHardlinks = true;
$scope.configureBackup.externalDisk = false;
$scope.configureBackup.password = '';
},
show: function () {