From 4482fc45303c8484faa8b48f9739161b663281f4 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 19 Jan 2012 11:19:02 -0800 Subject: [PATCH] Fixed parsing. --- .../src/main/resources/oskeyboard.js | 64 ++++++++++++------- 1 file changed, 41 insertions(+), 23 deletions(-) diff --git a/guacamole-common-js/src/main/resources/oskeyboard.js b/guacamole-common-js/src/main/resources/oskeyboard.js index 84f930cfa..e0c2d69aa 100644 --- a/guacamole-common-js/src/main/resources/oskeyboard.js +++ b/guacamole-common-js/src/main/resources/oskeyboard.js @@ -51,11 +51,17 @@ Guacamole.OnScreenKeyboard = function(url) { // For each child of element, call handler defined in next function parseChildren(element, next) { - var children = root.childNodes; + var children = element.childNodes; for (var i=0; i