auto start stop display after features to display save prompt
This commit is contained in:
parent
3580432cd2
commit
225ba94d69
@ -3175,10 +3175,16 @@ function savePrompt() {
|
||||
setTimeout(
|
||||
function() {
|
||||
document.getElementById('saved-msg-feedback').style.display = "block";
|
||||
fetch("/stop", {
|
||||
method: "GET",
|
||||
});
|
||||
}, 100);
|
||||
setTimeout(
|
||||
function() {
|
||||
document.getElementById('saved-msg-feedback').style.display = "none";
|
||||
fetch("/start", {
|
||||
method: "PUT",
|
||||
});
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user