Merge pull request 'streamlined manual entry redirects back to related overview page' (#28) from ensure-manual-logs-go-back-to-overview-page into main
Reviewed-on: #28
This commit was merged in pull request #28.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -394,7 +394,7 @@
|
||||
}
|
||||
|
||||
function goBack() {
|
||||
window.location.href = "/";
|
||||
window.location.href = "/feedings.html";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
@@ -378,7 +378,7 @@
|
||||
}
|
||||
|
||||
function goBack() {
|
||||
window.location.href = "/";
|
||||
window.location.href = "/sleep.html";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user