Switch from WAITING to CONNECTED on first sync, rather than first png.

This commit is contained in:
Michael Jumper
2012-10-23 11:02:54 -07:00
parent 2bd982fe83
commit 3b9adefa4a

View File

@@ -832,10 +832,6 @@ Guacamole.Client = function(tunnel) {
"data:image/png;base64," + data
);
// If received first update, no longer waiting.
if (currentState == STATE_WAITING)
setState(STATE_CONNECTED);
},
"pop": function(parameters) {
@@ -996,6 +992,10 @@ Guacamole.Client = function(tunnel) {
}
}
// If received first update, no longer waiting.
if (currentState == STATE_WAITING)
setState(STATE_CONNECTED);
},
"transfer": function(parameters) {