17229: Webshell don't update idle timer when timed out
authorStephen Smith <stephen@curii.com>
Mon, 20 Sep 2021 18:28:27 +0000 (14:28 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 20 Sep 2021 18:28:27 +0000 (14:28 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

public/webshell/index.html

index 126962b6a764c6d49082a1a41d50a2eb9e4d8a17..42ef9a44e7b59d6d02d20a7a38fb9207bfcacbc3 100644 (file)
@@ -61,6 +61,8 @@
           //logout
           sh.sendKeys('03'); // Ctrl + c
           sh.sendKeys('04'); // Ctrl + d
+          document.body.onmousemove = undefined;
+          document.body.onkeydown = undefined;
         } else {
           setTimeout(checkIdleTimer, 1000);
         }