mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Fade out display on error.
This commit is contained in:
@@ -95,17 +95,20 @@ var GuacamoleUI = {
|
||||
GuacamoleUI.hideStatus = function() {
|
||||
removeClass(document.body, "guac-error");
|
||||
GuacamoleUI.containers.state.style.visibility = "hidden";
|
||||
GuacamoleUI.display.style.opacity = "1";
|
||||
};
|
||||
|
||||
GuacamoleUI.showStatus = function(text) {
|
||||
removeClass(document.body, "guac-error");
|
||||
GuacamoleUI.containers.state.style.visibility = "visible";
|
||||
GuacamoleUI.state.textContent = text;
|
||||
GuacamoleUI.display.style.opacity = "1";
|
||||
};
|
||||
|
||||
GuacamoleUI.showError = function(error) {
|
||||
addClass(document.body, "guac-error");
|
||||
GuacamoleUI.state.textContent = error;
|
||||
GuacamoleUI.display.style.opacity = "0.1";
|
||||
};
|
||||
|
||||
GuacamoleUI.shadeMenu = function() {
|
||||
|
Reference in New Issue
Block a user