Refresh after PPR logged

This commit is contained in:
2025-02-23 19:02:20 +00:00
parent 70af1d3e30
commit 9d40de216f

View File

@@ -198,7 +198,13 @@ $conn->close();
<script> <script>
function openPopup() { function openPopup() {
window.open("input.html", "PopupWindow", "toolbar=no, location=no, directories=no,status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, width=600, height=1100"); popup = window.open("input.html", "PopupWindow", "toolbar=no, location=no, directories=no,status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, width=600, height=1100");
const checkPopup = setInterval(() => {
if (popup && popup.closed) {
clearInterval(checkPopup);
window.location.reload(); // Reload parent window
}
}, 500); // Check every 500ms
} }
</script> </script>