forked from 0x2620/pandora
add keyboard shortcut for reload application
This commit is contained in:
parent
acd70661d9
commit
2377269391
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@ pandora.ui.loadingIcon = function() {
|
|||
var self = {},
|
||||
that = Ox.LoadingIcon({
|
||||
tooltip: Ox._('Reload {0}', [pandora.site.site.name])
|
||||
+ ' <span class="OxBright">' + Ox.SYMBOLS.CONTROL + 'R' + '</span>'
|
||||
}, self)
|
||||
.attr({
|
||||
src: Ox.UI.getImageURL('symbolRedo')
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue