From 855d9d6dd239f7f5d05a940908f7c1979cdadbcb Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 4 Aug 2021 19:50:37 +0000 Subject: [PATCH] KASM-1834 inform client refresh required --- app/ui.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/ui.js b/app/ui.js index 4fe130e6..d41d1aa1 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1335,6 +1335,8 @@ const UI = { } } }, 30000); + } else { + document.getElementById('noVNC_status').style.visibility = "visible"; } // Send an event to the parent document (kasm app) to toggle the control panel when ctl is double clicked @@ -1705,6 +1707,7 @@ const UI = { UI.rfb.maxVideoResolutionY = parseInt(UI.getSetting('max_video_resolution_y')); UI.rfb.frameRate = parseInt(UI.getSetting('framerate')); UI.rfb.enableWebP = UI.getSetting('enable_webp'); + UI.showStatus("Refresh page to apply encoding changes."); }, 2000); }