Commit ebf1db75 by Torkel Ödegaard

added ctrl+r for reload shortcut

parent e7dd50ed
...@@ -87,6 +87,10 @@ function (angular, $, config, _) { ...@@ -87,6 +87,10 @@ function (angular, $, config, _) {
$rootScope.$emit('save-dashboard', evt); $rootScope.$emit('save-dashboard', evt);
}, { inputDisabled: true }); }, { inputDisabled: true });
keyboardManager.bind('ctrl+r', function(evt) {
dashboard.refresh();
}, { inputDisabled: true });
keyboardManager.bind('esc', function() { keyboardManager.bind('esc', function() {
var popups = $('.popover.in'); var popups = $('.popover.in');
if (popups.length > 0) { if (popups.length > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment