This commit is contained in:
habi
2022-04-24 14:35:34 +05:00
parent c2b29e99a3
commit 46d4b50aa2
2 changed files with 5 additions and 4 deletions

View File

@@ -1076,9 +1076,7 @@ app.controller('backupLogsScheduled', function ($scope, $http, $timeout) {
///** Backup site ends **///
function changeRetention () {
alert("habbi");
};
@@ -1257,6 +1255,9 @@ app.controller('googleDrive', function ($scope, $http) {
};
dataurl = "/backup/changeFileRetention";
//console.log(data)
$http.post(dataurl, data, config).then(fileretention, cantLoadInitialData);
function fileretention(response) {

View File

@@ -113,7 +113,7 @@
</div>
<div style="display: none" id="checkret" class="form-group">
<div ng-hide="driveHidden" id="checkret" class="form-group">
<label class="col-sm-3 control-label">{% trans "Backup File Retention" %}</label>
<div class="col-sm-6">
<select id="fileretention" ng-model="Retentiontime" ng-change="changeRetention()" class="form-control">