From 46d4b50aa202dfcf44c273789a3f2c23c108f2d3 Mon Sep 17 00:00:00 2001 From: habi Date: Sun, 24 Apr 2022 14:35:34 +0500 Subject: [PATCH] reten --- backup/static/backup/backup.js | 7 ++++--- backup/templates/backup/googleDrive.html | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/backup/static/backup/backup.js b/backup/static/backup/backup.js index c1978e04a..5a6afe076 100755 --- a/backup/static/backup/backup.js +++ b/backup/static/backup/backup.js @@ -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) { diff --git a/backup/templates/backup/googleDrive.html b/backup/templates/backup/googleDrive.html index c845ab91e..175a20508 100755 --- a/backup/templates/backup/googleDrive.html +++ b/backup/templates/backup/googleDrive.html @@ -113,7 +113,7 @@ -