Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/8.1' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/8.1
  • Loading branch information
metaventis-build committed Jan 23, 2024
2 parents 786da85 + 6accb20 commit 379b30e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion service/src/main/php/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,15 @@

//cordova
echo '<script>window.shouldClose=true;</script>';
echo '<script>setInterval(function(){if(window.opener){window.opener.postMessage({event:"REFRESH"},"*"); window.opener.postMessage({event:"CLOSE"},"*");}},100);</script>';
echo '<script>setInterval(
() => {
if(window.opener){
setTimeout(() => {
window.opener.postMessage({event:"REFRESH"},"*");
window.opener.postMessage({event:"CLOSE"},"*");
}, 3000)
}
},100);</script>';
exit(0);
}
}
Expand Down

0 comments on commit 379b30e

Please sign in to comment.