[ARVADOS-WORKBENCH2] updated: 2.4.0-41-g1297a59f
Git user
git at public.arvados.org
Mon Apr 25 19:55:24 UTC 2022
Summary of changes:
public/webshell/index.html | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
via 1297a59f47368687666de59ff352870f7dafc64c (commit)
from 70d7d9736369c173db2e3ab8ab98add0c0f3bd1e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 1297a59f47368687666de59ff352870f7dafc64c
Author: Stephen Smith <stephen at curii.com>
Date: Mon Apr 25 15:55:02 2022 -0400
18978: Disable webshell idle timeout when 0.
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/public/webshell/index.html b/public/webshell/index.html
index 5e3f32e4..aae70a97 100644
--- a/public/webshell/index.html
+++ b/public/webshell/index.html
@@ -88,10 +88,12 @@
sh.keysPressed(token + "\n");
sh.vt100('(sent authentication token)\n');
token = null;
- updateIdleTimer();
- document.body.onmousemove = updateIdleTimer;
- document.body.onkeydown = updateIdleTimer;
- setTimeout(checkIdleTimer, 1000);
+ if (timeout > 0) {
+ updateIdleTimer();
+ document.body.onmousemove = updateIdleTimer;
+ document.body.onkeydown = updateIdleTimer;
+ setTimeout(checkIdleTimer, 1000);
+ }
} else {
setTimeout(trySendToken, 200);
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list