From: Stas Vilchik Date: Thu, 3 Apr 2014 09:32:04 +0000 (+0600) Subject: SONAR-5166 Offer shortcut to access the top-right search engine X-Git-Tag: 4.3~166 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36905c7ce19ce53b86cdcae5b2803f4467185ac8;p=sonarqube.git SONAR-5166 Offer shortcut to access the top-right search engine Use "s" --- diff --git a/sonar-server/src/main/js/application.js b/sonar-server/src/main/js/application.js index cd226028d87..656553ea2a2 100644 --- a/sonar-server/src/main/js/application.js +++ b/sonar-server/src/main/js/application.js @@ -555,7 +555,7 @@ jQuery(function() { // Define global shortcuts - key('slash,divide,shift+slash', function() { // + key('s', function(e) { // jQuery('#searchInput').focus(); return false; }); diff --git a/sonar-server/src/main/js/third-party/keymaster.js b/sonar-server/src/main/js/third-party/keymaster.js index 940b5f2c019..8a13e83f313 100644 --- a/sonar-server/src/main/js/third-party/keymaster.js +++ b/sonar-server/src/main/js/third-party/keymaster.js @@ -25,7 +25,6 @@ del: 46, 'delete': 46, home: 36, end: 35, pageup: 33, pagedown: 34, - slash: 191, divide: 111, ',': 188, '.': 190, '/': 191, '`': 192, '-': 189, '=': 187, ';': 186, '\'': 222,