From 297696c90576b3a88fbc32c52f6101deffb4917a Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 23 Jan 2011 01:42:03 -0800 Subject: [PATCH] Moved error style change into hook --- guacamole/src/main/webapp/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guacamole/src/main/webapp/index.html b/guacamole/src/main/webapp/index.html index c2087cdd5..926fb9ca4 100644 --- a/guacamole/src/main/webapp/index.html +++ b/guacamole/src/main/webapp/index.html @@ -214,10 +214,14 @@ guacErrorImage.src = "images/noguacamole-logo.png"; guac.setErrorHandler(function(error) { + menu.className = "error"; + display.className += " guac-error"; + logo.src = guacErrorImage.src; errorDialogText.textContent = error; errorDialog.style.visibility = "visible"; + }); // Reconnect button