Revert "fix the things"

This reverts commit 88ccda11f3.
This commit is contained in:
ehpersonal38
2023-05-28 13:40:16 -04:00
parent f47b9e040e
commit f050a60cc1
2 changed files with 4 additions and 6 deletions
+3 -3
View File
@@ -113,7 +113,7 @@ if(isset($_GET["latitude"])){
echo "<script>setTimeout(
function() {
const xhttp = new XMLHttpRequest();
xhttp.open(\"GET\", \"./views.php?view=Settings&restart_php=true&hidehtml=true\", true);
xhttp.open(\"GET\", \"./views.php?view=Settings&restart_php=true\", true);
xhttp.send();
}, 1000);</script>";
}
@@ -348,7 +348,7 @@ function sendTestNotification(e) {
e.classList.remove("disabled");
}
}
xmlHttp.open("GET", "views.php?view=Settings&hidehtml=true&sendtest=true&apprise_notification_title="+apprise_notification_title+"&apprise_notification_body="+apprise_notification_body+"&apprise_config="+apprise_config, true); // true for asynchronous
xmlHttp.open("GET", "scripts/config.php?sendtest=true&apprise_notification_title="+apprise_notification_title+"&apprise_notification_body="+apprise_notification_body+"&apprise_config="+apprise_config, true); // true for asynchronous
xmlHttp.send(null);
}
</script>
@@ -466,7 +466,7 @@ function runProcess() {
output.innerHTML = xhr.responseText;
}
};
xhr.open('GET', `views.php?view=Settings&threshold=${threshold}&hidehtml=true`);
xhr.open('GET', `views.php?view=Settings&threshold=${threshold}`);
xhr.send();
}
</script>