Use onstorage event - don't poll. Increase screenshot frequency to one second.

This commit is contained in:
Michael Jumper committed 2012-11-07 10:15:01 -08:00
1 parent 3b3f213c6d
commit d1aeb5e347
4 files changed
+7 -14

No files matched your search

@@ -323,12 +323,6 @@ GuacamoleRootUI.reset = function() {
GuacamoleRootUI.views.login.style.display = "none";
GuacamoleRootUI.views.connections.style.display = "";
// Reload history every 5 seconds
window.setInterval(GuacamoleHistory.reload, 5000);
// Reload history when focus gained
window.onfocus = GuacamoleHistory.reload;
};
GuacamoleHistory.onchange = function(id, old_entry, new_entry) {