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 <[email protected]> Authored: Fri Apr 14 14:26:13 2017 -0700 Committer: Michael Jumper <[email protected]> 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); });
