From 23772693918bec3dc84d99284eb4f6c1596a47eb Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 3 Aug 2013 18:31:58 +0000 Subject: [PATCH] add keyboard shortcut for reload application --- static/js/loadingIcon.js | 1 + static/js/mainMenu.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/static/js/loadingIcon.js b/static/js/loadingIcon.js index bac60a3f..4403cdfd 100644 --- a/static/js/loadingIcon.js +++ b/static/js/loadingIcon.js @@ -5,6 +5,7 @@ pandora.ui.loadingIcon = function() { var self = {}, that = Ox.LoadingIcon({ tooltip: Ox._('Reload {0}', [pandora.site.site.name]) + + ' ' + Ox.SYMBOLS.CONTROL + 'R' + '' }, self) .attr({ src: Ox.UI.getImageURL('symbolRedo') diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index afda56a2..f0558d5f 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -517,6 +517,9 @@ pandora.ui.mainMenu = function() { key_control_p: function() { window.open(document.location.href + '#?print=true', '_blank'); }, + key_control_r: function() { + pandora.$ui.appPanel.reload(); + }, key_control_shift_f: function() { if (!pandora.hasDialogOrScreen()) { pandora.$ui.filterDialog = pandora.ui.filterDialog().open();