Add auto-close functionality to form submission
This commit is contained in:
parent
24e3d9aa50
commit
714c84b35d
@ -35,6 +35,9 @@ use Nwb\MultiDownloaderClient\MultiDownloaderClient;
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.forms['f'].submit();
|
document.forms['f'].submit();
|
||||||
|
window.setTimeout(function() {
|
||||||
|
window.close();
|
||||||
|
}, 2000); // Attend 2 secondes avant de fermer la fenêtre
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user