You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by li...@apache.org on 2013/09/05 10:01:30 UTC

[2/2] git commit: updated refs/heads/master to 7bff499

CLOUDSTACK-4434: EN: Ubuntu: Direct input "- _ ", "? /", "keyboard /" ,"keyboard -" keys are not working well for the US keyboard.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7bff499b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7bff499b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7bff499b

Branch: refs/heads/master
Commit: 7bff499bd3625f8a75a1c93cb9e3e2c90955df5e
Parents: 108aab7
Author: Sanjay Tripathi <sa...@citrix.com>
Authored: Wed Aug 28 14:22:21 2013 +0530
Committer: Likitha Shetty <li...@citrix.com>
Committed: Thu Sep 5 13:05:21 2013 +0530

----------------------------------------------------------------------
 services/console-proxy/server/js/ajaxviewer.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7bff499b/services/console-proxy/server/js/ajaxviewer.js
----------------------------------------------------------------------
diff --git a/services/console-proxy/server/js/ajaxviewer.js b/services/console-proxy/server/js/ajaxviewer.js
index d3f3aa9..9643204 100644
--- a/services/console-proxy/server/js/ajaxviewer.js
+++ b/services/console-proxy/server/js/ajaxviewer.js
@@ -140,9 +140,13 @@ KeyboardMapper.prototype = {
 			this.jsX11KeysymMap[AjaxViewer.JS_KEY_SELECT_KEY] 		= AjaxViewer.X11_KEY_SELECT_KEY;
 			this.jsX11KeysymMap[AjaxViewer.JS_KEY_DECIMAL_POINT] 	= AjaxViewer.X11_KEY_DECIMAL_POINT;
 			this.jsKeyPressX11KeysymMap[45] 				= [{type: AjaxViewer.KEY_DOWN, code: AjaxViewer.X11_KEY_SUBSTRACT, modifiers: 0, shift: true },
-			                                				   {type: AjaxViewer.KEY_DOWN, code: AjaxViewer.X11_KEY_SUBSTRACT, modifiers: 0, shift: false }];
+															   {type: AjaxViewer.KEY_UP, code: AjaxViewer.X11_KEY_SUBSTRACT, modifiers: 0, shift: true },
+															   {type: AjaxViewer.KEY_DOWN, code: AjaxViewer.X11_KEY_SUBSTRACT, modifiers: 0, shift: false },
+															   {type: AjaxViewer.KEY_UP, code: AjaxViewer.X11_KEY_SUBSTRACT, modifiers: 0, shift: false }];
 			this.jsKeyPressX11KeysymMap[47] 				= [{type: AjaxViewer.KEY_DOWN, code: 0x2f, modifiers: 0, shift: true },
-			                                				   {type: AjaxViewer.KEY_DOWN, code: 0x2f, modifiers: 0, shift: false }];
+															   {type: AjaxViewer.KEY_UP, code: 0x2f, modifiers: 0, shift: true },
+															   {type: AjaxViewer.KEY_DOWN, code: 0x2f, modifiers: 0, shift: false },
+															   {type: AjaxViewer.KEY_UP, code: 0x2f, modifiers: 0, shift: false }];
 		}
 	},
 	RawkeyboardInputHandler : function(eventType, code, modifiers, guestos, browser, browserVersion) {