Update app.js
This commit is contained in:
parent
c88ad2524c
commit
61a2492c55
@ -2625,6 +2625,7 @@ function showScheduler() {
|
|||||||
|
|
||||||
function closeScheduler() {
|
function closeScheduler() {
|
||||||
document.getElementById('scheduler-div').style.display = "none";
|
document.getElementById('scheduler-div').style.display = "none";
|
||||||
|
document.getElementById('saved').style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2652,5 +2653,10 @@ function saveSchedulerSettings() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
console.log(settings);
|
console.log(settings);
|
||||||
|
fetch("/saveSchedulerSettings", {
|
||||||
|
method: "POST",
|
||||||
|
body: settings,
|
||||||
|
});
|
||||||
|
document.getElementById('saved').style.display = "block";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user