From d673212da6d546d4a2e47e87c07ea816b665bbc0 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 6 Dec 2013 12:01:52 -0800 Subject: [PATCH] Validate that the layer container exists before attempting to install a sync hook into the contained layer. --- .../src/main/resources/guacamole.js | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js index 7d182d616..2e10ff0ce 100644 --- a/guacamole-common-js/src/main/resources/guacamole.js +++ b/guacamole-common-js/src/main/resources/guacamole.js @@ -1428,21 +1428,26 @@ Guacamole.Client = function(tunnel) { // Count active, not-ready layers and install sync tracking hooks for (var i=0; i