From 36905c7ce19ce53b86cdcae5b2803f4467185ac8 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 3 Apr 2014 15:32:04 +0600 Subject: [PATCH] SONAR-5166 Offer shortcut to access the top-right search engine Use "s" --- sonar-server/src/main/js/application.js | 2 +- sonar-server/src/main/js/third-party/keymaster.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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, -- 2.39.5