mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9164: Prevent firefox's quick search from opening in VM console
This commit is contained in:
parent
d518b619dd
commit
7db5f1833e
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue