From 16b155a11d92cdff849a8070d5c11e2f09b09320 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 9 Apr 2014 12:31:30 +0600 Subject: [PATCH] SONAR-5167 Fix using "tab" inside the metric filter --- sonar-server/src/main/js/navigator/filters/filter-bar.js | 2 +- sonar-server/src/main/less/navigator/filters.less | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/js/navigator/filters/filter-bar.js b/sonar-server/src/main/js/navigator/filters/filter-bar.js index 1f3ce749638..31c9d67c3b2 100644 --- a/sonar-server/src/main/js/navigator/filters/filter-bar.js +++ b/sonar-server/src/main/js/navigator/filters/filter-bar.js @@ -43,7 +43,7 @@ define( key.filter = function(e) { var el = jQuery(e.target), tabbableSet = el.closest('.navigator-filter-details-inner').find(':tabbable'); - if (el.is(':input')) { + if (el.is(':input') || el.is('a')) { if (e.keyCode === 9 || e.keyCode === 27) { return tabbableSet.index(el) >= tabbableSet.length - 1; } else { diff --git a/sonar-server/src/main/less/navigator/filters.less b/sonar-server/src/main/less/navigator/filters.less index 6c02ed9d50e..d996b299bf5 100644 --- a/sonar-server/src/main/less/navigator/filters.less +++ b/sonar-server/src/main/less/navigator/filters.less @@ -37,6 +37,8 @@ font-weight: normal; .trans; + &::-moz-focus-inner { border: 0; } + &:hover, &:focus { border-color: @blue; background-color: lighten(@blue, 10%); -- 2.39.5