KASM-1834 inform client refresh required

This commit is contained in:
matt 2021-08-04 19:50:37 +00:00
parent 30326f7c11
commit 855d9d6dd2
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}