Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2016-10-01 01:39:04 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-10-01 01:39:04 +0300
commit24fbaf5c76d48016f5298c7a825ed8a12ba0c500 (patch)
tree208b727618245c7ea9f139b6127b1e74078f6178 /plugins
parent9fdb62cc8de23dd88b1cc9a7306c4a12f06be973 (diff)
Clicking on the website selector, should put the focus in the search box (#10588)
fixes #10577
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/angularjs/siteselector/siteselector.directive.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/angularjs/siteselector/siteselector.directive.html b/plugins/CoreHome/angularjs/siteselector/siteselector.directive.html
index 87ecf8c312..eabca54afd 100644
--- a/plugins/CoreHome/angularjs/siteselector/siteselector.directive.html
+++ b/plugins/CoreHome/angularjs/siteselector/siteselector.directive.html
@@ -29,7 +29,7 @@
<div class="custom_select_search" ng-show="autocompleteMinSites <= model.sites.length || view.searchTerm">
<input type="text"
- piwik-focus-if="view.showSitesList"
+ piwik-focus-if="view.showSitesList && (autocompleteMinSites <= model.sites.length || view.searchTerm)"
ng-click="view.searchTerm=''"
ng-model="view.searchTerm"
ng-change="model.searchSite(view.searchTerm)"
@@ -67,4 +67,4 @@
ng-include="'siteselector_allsiteslink.html'"></div>
</div>
-</div> \ No newline at end of file
+</div>