Add default connection name, do not hide cursor after error, remove old classes.
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Sun, 25 Mar 2012 05:57:40 +0000 (22:57 -0700)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Sun, 25 Mar 2012 05:57:40 +0000 (22:57 -0700)
src/main/webapp/scripts/interface.js
src/main/webapp/styles/client.css

index 4fecbc7..ccac658 100644 (file)
@@ -419,7 +419,7 @@ var GuacamoleUI = {
 GuacamoleUI.attach = function(guac) {
 
     var title_prefix = null;
 GuacamoleUI.attach = function(guac) {
 
     var title_prefix = null;
-    var connection_name = null 
+    var connection_name = "Guacamole"; 
     
     var guac_display = guac.getDisplay();
 
     
     var guac_display = guac.getDisplay();
 
@@ -545,13 +545,7 @@ GuacamoleUI.attach = function(guac) {
 
             // Connected
             case 3:
 
             // Connected
             case 3:
-                
                 GuacamoleUI.hideStatus();
                 GuacamoleUI.hideStatus();
-                GuacamoleUI.display.className =
-                    GuacamoleUI.display.className.replace(/guac-loading/, '');
-
-                GuacamoleUI.menu.className = "connected";
-
                 title_prefix = null;
                 break;
 
                 title_prefix = null;
                 break;
 
index a090702..9765833 100644 (file)
@@ -33,6 +33,10 @@ img {
     overflow: hidden;
 }
 
     overflow: hidden;
 }
 
+.guac-error .software-cursor {
+    cursor: default;
+}
+
 * {
     -webkit-tap-highlight-color: rgba(0,0,0,0);
 }
 * {
     -webkit-tap-highlight-color: rgba(0,0,0,0);
 }