diff options
Diffstat (limited to 'id/server/moa-id-frontend-resources/src/main/resources/mainGUI/slo.js')
-rw-r--r-- | id/server/moa-id-frontend-resources/src/main/resources/mainGUI/slo.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/slo.js b/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/slo.js new file mode 100644 index 000000000..c85837c8a --- /dev/null +++ b/id/server/moa-id-frontend-resources/src/main/resources/mainGUI/slo.js @@ -0,0 +1,20 @@ +function sloTimeOut() { + document.getElementById("timeoutURL").click(); +} +function RestartAfterDelay() { + var eDate = null; + var MilliSekZeit = 0; + var SysDatumJetzt = new Date(); + var SysDatumJetztMilli = SysDatumJetzt.getTime(); + + do { + eDate = new Date(); + MilliSekZeit = eDate.getTime(); + } while ((MilliSekZeit-SysDatumJetztMilli) < $timeout); + + sloTimeOut(); +} + +document.addEventListener('DOMContentLoaded', function () { + setTimeout(sloTimeOut, 30000); +});
\ No newline at end of file |