fix #1182 (add keyboard shortcut to move focus to main menu)

This commit is contained in:
rolux 2013-08-01 10:34:07 +00:00
parent 5a11e40fb4
commit 6d25cd8da2

View file

@ -472,6 +472,11 @@ pandora.ui.mainMenu = function() {
}
}
},
key_control_m: function() {
if (!pandora.hasDialogOrScreen() && !that.isSelected()) {
that.options('menus')[0].element.trigger('click');
}
},
key_control_p: function() {
window.open(document.location.href + '#?print=true', '_blank');
},