From 61a2492c55ce29d76a468d0584e20987dee092ac Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 24 Apr 2023 18:23:58 +0800 Subject: [PATCH] Update app.js --- static/app.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/app.js b/static/app.js index bbbafac..ab31806 100755 --- a/static/app.js +++ b/static/app.js @@ -2625,6 +2625,7 @@ function showScheduler() { function closeScheduler() { document.getElementById('scheduler-div').style.display = "none"; + document.getElementById('saved').style.display = "none"; } @@ -2652,5 +2653,10 @@ function saveSchedulerSettings() { }; console.log(settings); + fetch("/saveSchedulerSettings", { + method: "POST", + body: settings, + }); + document.getElementById('saved').style.display = "block"; }