From 171653dca58098031e91843fb96240618cead680 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 14 Apr 2017 14:26:13 -0700 Subject: [PATCH] GUACAMOLE-250: Require callback - calling exportState() makes no sense otherwise. --- guacamole-common-js/src/main/webapp/modules/Client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js index a3ea4c068..006a262b4 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); });