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 = {},
|
var self = {},
|
||||||
that = Ox.LoadingIcon({
|
that = Ox.LoadingIcon({
|
||||||
tooltip: Ox._('Reload {0}', [pandora.site.site.name])
|
tooltip: Ox._('Reload {0}', [pandora.site.site.name])
|
||||||
|
+ ' <span class="OxBright">' + Ox.SYMBOLS.CONTROL + 'R' + '</span>'
|
||||||
}, self)
|
}, self)
|
||||||
.attr({
|
.attr({
|
||||||
src: Ox.UI.getImageURL('symbolRedo')
|
src: Ox.UI.getImageURL('symbolRedo')
|
||||||
|
|
|
@ -517,6 +517,9 @@ pandora.ui.mainMenu = function() {
|
||||||
key_control_p: function() {
|
key_control_p: function() {
|
||||||
window.open(document.location.href + '#?print=true', '_blank');
|
window.open(document.location.href + '#?print=true', '_blank');
|
||||||
},
|
},
|
||||||
|
key_control_r: function() {
|
||||||
|
pandora.$ui.appPanel.reload();
|
||||||
|
},
|
||||||
key_control_shift_f: function() {
|
key_control_shift_f: function() {
|
||||||
if (!pandora.hasDialogOrScreen()) {
|
if (!pandora.hasDialogOrScreen()) {
|
||||||
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
||||||
|
|
Loading…
Reference in a new issue