diff options
author | Simon Rettberg | 2019-04-01 17:38:04 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-01 18:15:42 +0200 |
commit | a1443c8057541bf5589f9fd830e8a76565fd6127 (patch) | |
tree | 22d6f76b3c3c8460bb9a26f37713845446ee417a /modules-available/main/templates | |
parent | [serversetup-bwlp-ipxe] imgfree on localboot (diff) | |
download | slx-admin-a1443c8057541bf5589f9fd830e8a76565fd6127.tar.gz slx-admin-a1443c8057541bf5589f9fd830e8a76565fd6127.tar.xz slx-admin-a1443c8057541bf5589f9fd830e8a76565fd6127.zip |
[main] Incorporate taskmanager callbacks into slx-fixes.js
Diffstat (limited to 'modules-available/main/templates')
-rw-r--r-- | modules-available/main/templates/tm-callback-trigger.html | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/modules-available/main/templates/tm-callback-trigger.html b/modules-available/main/templates/tm-callback-trigger.html deleted file mode 100644 index cd03a1fe..00000000 --- a/modules-available/main/templates/tm-callback-trigger.html +++ /dev/null @@ -1,15 +0,0 @@ -<script type="text/javascript"> - var slxCbCooldown = 0; - function slxCheckCallbacks() { - $.post('api.php?do=cb', { token: TOKEN }, function(data) { - if ( data.indexOf('True') >= 0 ) { - slxCbCooldown = 0; - } else { - slxCbCooldown++; - } - if (slxCbCooldown < 4) - setTimeout(slxCheckCallbacks, (slxCbCooldown + 1) * 1500); - }, 'text'); - } - document.addEventListener("DOMContentLoaded", slxCheckCallbacks, false); -</script>
\ No newline at end of file |