diff options
author | Maxim Devaev <[email protected]> | 2024-03-26 20:12:02 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-03-26 20:18:16 +0200 |
commit | 8f56d6ec27b25bebe874e59b370adcd4662fef92 (patch) | |
tree | cfee750885ebdba467e3b917af2d715eba9a1d0b | |
parent | 35173ff181a7c06c9bab9725f537a5277fa8d33c (diff) |
webterm disableLeaveAlert=true in window
-rw-r--r-- | web/share/js/kvm/session.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js index b0321eb7..8b89b71c 100644 --- a/web/share/js/kvm/session.js +++ b/web/share/js/kvm/session.js @@ -251,7 +251,7 @@ export function Session() { let close_hook = null; let has_webterm = (state.webterm && (state.webterm.enabled || state.webterm.started)); if (has_webterm) { - let path = "/" + state.webterm.path; + let path = "/" + state.webterm.path + "?disableLeaveAlert=true"; show_hook = function() { tools.info("Terminal opened: ", path); $("webterm-iframe").src = path; |