Add auto-close functionality to form submission

This commit is contained in:
Nicolas COMPAIN 2024-01-28 11:39:12 +00:00
parent 24e3d9aa50
commit 714c84b35d

View File

@ -35,6 +35,9 @@ use Nwb\MultiDownloaderClient\MultiDownloaderClient;
<script type="text/javascript">
document.forms['f'].submit();
window.setTimeout(function() {
window.close();
}, 2000); // Attend 2 secondes avant de fermer la fenêtre
</script>
</body>