From 71e219842050091d659e3933a75a9950ae65e66b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 28 Apr 2015 16:33:17 -0700 Subject: [PATCH] GUAC-1170: Parse layout structure. --- .../main/webapp/modules/OnScreenKeyboard.js | 124 +++++++++++++++++- 1 file changed, 121 insertions(+), 3 deletions(-) diff --git a/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js b/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js index 0229b6c6d..de2598b48 100644 --- a/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js +++ b/guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js @@ -263,8 +263,6 @@ Guacamole.OnScreenKeyboard = function(layout) { var keyboard = document.createElement("div"); keyboard.className = "guac-keyboard"; - /* TODO: Actually parse the darn thing */ - // Do not allow selection or mouse movement to propagate/register. keyboard.onselectstart = keyboard.onmousemove = @@ -331,7 +329,6 @@ Guacamole.OnScreenKeyboard = function(layout) { // Get pixel size of a unit var unit = Math.floor(width * 10 / osk.layout.width) / 10; - console.log("OnScreenKeyboard", "resizing unit", unit); // Resize all scaled elements for (var i=0; i