streamlined manual entry redirects back to related overview page #28

Merged
brian merged 1 commits from ensure-manual-logs-go-back-to-overview-page into main 2025-11-12 15:58:32 +01:00
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -235,7 +235,7 @@
<button
type="button"
class="button secondary"
onclick="window.location.href='/'"
onclick="window.location.href='/diapers.html'"
>
Cancel
</button>
@@ -431,7 +431,7 @@
"success",
);
setTimeout(() => {
window.location.href = "/";
window.location.href = "/diapers.html";
}, 1000);
} else {
const errorData = await response.json();
+1 -1
View File
@@ -394,7 +394,7 @@
}
function goBack() {
window.location.href = "/";
window.location.href = "/feedings.html";
}
</script>
</body>
+1 -1
View File
@@ -378,7 +378,7 @@
}
function goBack() {
window.location.href = "/";
window.location.href = "/sleep.html";
}
</script>
</body>