Refresh after PPR logged
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user