From 3b9adefa4a5e04c340e03da46c3e5ec209dcf82f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 23 Oct 2012 11:02:54 -0700 Subject: [PATCH] Switch from WAITING to CONNECTED on first sync, rather than first png. --- guacamole-common-js/src/main/resources/guacamole.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js index 7ffbefe7f..6076a5f3b 100644 --- a/guacamole-common-js/src/main/resources/guacamole.js +++ b/guacamole-common-js/src/main/resources/guacamole.js @@ -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) {