aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-01-29 14:25:06 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-01-29 15:34:59 +0100
commit471df4016c03a3ca400c338809f1d47e36917e01 (patch)
treed531ed7b970013777f2b372373bf055645088550
parent24af13e347c39f0473bc1679a039961141a874f4 (diff)
downloadsonarqube-471df4016c03a3ca400c338809f1d47e36917e01.tar.gz
sonarqube-471df4016c03a3ca400c338809f1d47e36917e01.zip
remove the focus from the search input in the rules page
-rw-r--r--server/sonar-web/src/main/js/coding-rules/facets/query-facet.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/coding-rules/facets/query-facet.js b/server/sonar-web/src/main/js/coding-rules/facets/query-facet.js
index a6ed373fc15..a657399949f 100644
--- a/server/sonar-web/src/main/js/coding-rules/facets/query-facet.js
+++ b/server/sonar-web/src/main/js/coding-rules/facets/query-facet.js
@@ -20,13 +20,6 @@ define([
if (value != null) {
this.$('input').val(value);
}
-
- if (Object.keys(query).length === 0) {
- var that = this;
- setTimeout(function () {
- that.$('input').focus();
- }, 100);
- }
},
applyFacet: function() {