Add autorefresh to contractor info

This commit is contained in:
Skylar Grant 2024-09-12 16:48:37 -04:00
parent a5799c2091
commit 9363333b5a

View File

@ -147,6 +147,7 @@
})
.then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 100);
});
document.getElementById('print').addEventListener('click', (event) => {
@ -163,7 +164,7 @@
})
.then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 300);
setTimeout(loadPDF, 100);
});
document.getElementById('printForm').addEventListener('submit', (event) => {
@ -194,7 +195,7 @@
})
.then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 300);
setTimeout(loadPDF, 100);
});
document.getElementById('printTempPw').addEventListener('click', (event) => {
@ -219,7 +220,7 @@
})
.then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 300);
setTimeout(loadPDF, 100);
});
</script>
</body>