diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-04-03 08:36:40 +0200 |
---|---|---|
committer | Grégoire Aubert <gregaubert@users.noreply.github.com> | 2017-04-03 10:24:58 +0200 |
commit | be8738ea1e0322d81e238c4462c7ec6f22d2177c (patch) | |
tree | 3e8f4166256f482ba8543f1c9091c1eb01e9fd16 /server/sonar-web/src/main | |
parent | 73b3b83eeae7d6d09f67a4f6ed3dd0dfac399388 (diff) | |
download | sonarqube-be8738ea1e0322d81e238c4462c7ec6f22d2177c.tar.gz sonarqube-be8738ea1e0322d81e238c4462c7ec6f22d2177c.zip |
Revert "Add autofocus in project search on projects page"
This reverts commit 98ee1ae87253fb17f8f96b24454be351cdeef001.
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js | 1 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js b/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js index e8678880198..1ce1141fa11 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js +++ b/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js @@ -75,7 +75,6 @@ export default class SearchFilter extends React.PureComponent { placeholder={translate('projects.search')} onChange={this.handleQueryChange} autoComplete="off" - autoFocus={true} /> <span className="note spacer-left"> {translateWithParameters('select2.tooShort', 2)} diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap index dad2089b3a3..55bfe8e9fa9 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap @@ -4,7 +4,6 @@ exports[`test should display a help message when there is less than 2 characters data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large touched" onChange={[Function]} placeholder="projects.search" @@ -23,7 +22,6 @@ exports[`test should display a help message when there is less than 2 characters data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large" onChange={[Function]} placeholder="projects.search" @@ -42,7 +40,6 @@ exports[`test should render correctly without any search query 1`] = ` data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large" onChange={[Function]} placeholder="projects.search" @@ -61,7 +58,6 @@ exports[`test should render with a search query 1`] = ` data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large" onChange={[Function]} placeholder="projects.search" |