Hi devs!

Despite the fact I was too lazy that weekend cloning the repo and filing
a pull request, I hope that small fix could make it upstream anyway.

--- ajaxviewer.js.orig 2015-12-13 11:10:47.851177577 +0000
+++ ajaxviewer.js 2015-12-13 14:14:32.367382547 +0000
@@ -649,6 +649,7 @@
this.sendingEventInProgress = false;
ajaxViewer.installMouseHook();
ajaxViewer.installKeyboardHook();
+ ajaxViewer.panel.parent().focus();

$(window).bind("resize", function() {
ajaxViewer.onWindowResize();
@@ -1259,6 +1260,7 @@
case 38 : // UP
case 39 : // RIGHT
case 40 : // DOWN
+ case 47 : // slash (prevent quick search)
return false;
}



I've already filed this as bug
https://issues.apache.org/jira/browse/CLOUDSTACK-9164

These two lines prevent Firefox from starting quicksearch which is
really annoying.

- Stephan




Reply via email to