cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sw...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 4ab7fb7
Date Mon, 25 Apr 2016 19:53:24 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master a2d46921a -> 4ab7fb78a


CLOUDSTACK-9164: Prevent firefox's quick search from opening in VM console


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

Branch: refs/heads/master
Commit: 7db5f1833e72d2208b3b085da47b4b0d114300d3
Parents: d518b61
Author: Anshul Gangwar <anshul.gangwar@citrix.com>
Authored: Tue Dec 22 11:59:09 2015 +0530
Committer: Anshul Gangwar <anshulg@Anshuls-MacBook-Pro.local>
Committed: Mon Apr 25 11:37:43 2016 +0530

----------------------------------------------------------------------
 systemvm/js/ajaxviewer.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7db5f183/systemvm/js/ajaxviewer.js
----------------------------------------------------------------------
diff --git a/systemvm/js/ajaxviewer.js b/systemvm/js/ajaxviewer.js
index f5df103..09fb41a 100644
--- a/systemvm/js/ajaxviewer.js
+++ b/systemvm/js/ajaxviewer.js
@@ -649,6 +649,7 @@ AjaxViewer.prototype = {
 		this.sendingEventInProgress = false;
 		ajaxViewer.installMouseHook();
 		ajaxViewer.installKeyboardHook();
+		ajaxViewer.panel.parent().focus();
 
 		$(window).bind("resize", function() {
 			ajaxViewer.onWindowResize();
@@ -1259,6 +1260,7 @@ AjaxViewer.prototype = {
 		case 38 :		// UP
 		case 39 :		// RIGHT
 		case 40 :		// DOWN
+		case 47 :		// FORWARD SLASH // Added to stop Firefox's quick search from opening
 			return false;
 		}
 		


Mime
View raw message