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:
authorStefan Giehl <stefan@piwik.org>2017-11-30 06:41:48 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-11-30 06:41:48 +0300
commitaf3a79c055bfe2c5778b5827ba3d165674315f4b (patch)
treea0e4432d5be6318209f968536dcaf1fa2494a86b /plugins/CoreHome/angularjs/quick-access
parente80aeb9ccecc2f175176d8920d241a93de168920 (diff)
Show shortcut help screen when pressing `?` (#12283)
* Adds help screen for shortcuts * Dynamically create shortcut summary by using new js method piwikHelper.registerShortcut * Update CHANGELOG.md
Diffstat (limited to 'plugins/CoreHome/angularjs/quick-access')
-rw-r--r--plugins/CoreHome/angularjs/quick-access/quick-access.directive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/angularjs/quick-access/quick-access.directive.js b/plugins/CoreHome/angularjs/quick-access/quick-access.directive.js
index 7161883e75..47df2e68fe 100644
--- a/plugins/CoreHome/angularjs/quick-access/quick-access.directive.js
+++ b/plugins/CoreHome/angularjs/quick-access/quick-access.directive.js
@@ -259,7 +259,7 @@
}
};
- Mousetrap.bind('f', function(event) {
+ piwikHelper.registerShortcut('f', _pk_translate('CoreHome_ShortcutSearch'), function(event) {
if (event.altKey) {
return;
}