You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2017/04/14 21:28:17 UTC

[2/3] incubator-guacamole-client git commit: GUACAMOLE-250: Require callback - calling exportState() makes no sense otherwise.

GUACAMOLE-250: Require callback - calling exportState() makes no sense otherwise.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/171653dc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/171653dc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/171653dc

Branch: refs/heads/master
Commit: 171653dca58098031e91843fb96240618cead680
Parents: 9ba6a5f
Author: Michael Jumper <mj...@apache.org>
Authored: Fri Apr 14 14:26:13 2017 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Fri Apr 14 14:26:13 2017 -0700

----------------------------------------------------------------------
 guacamole-common-js/src/main/webapp/modules/Client.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/171653dc/guacamole-common-js/src/main/webapp/modules/Client.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js
index a3ea4c0..006a262 100644
--- a/guacamole-common-js/src/main/webapp/modules/Client.js
+++ b/guacamole-common-js/src/main/webapp/modules/Client.js
@@ -196,8 +196,7 @@ Guacamole.Client = function(tunnel) {
             }
 
             // Invoke callback now that the state is ready
-            if (callback)
-                callback(state);
+            callback(state);
 
         });