html5video: fixed root keyboard handler for devices with VK_ENTER other than the usual one.

This commit is contained in:
John Törblom 2013-07-21 21:05:08 +02:00
parent 7da6c46da9
commit 14708b4ef8

View file

@ -454,14 +454,14 @@ tv.app = function() {
});
var nav = new Ext.KeyNav(Ext.getDoc(), {
'enter': function(e) {
Ext.getDoc().on('keydown', function(e) {
switch(e.getKey()) {
case VK_ENTER:
chListPanel.show();
chList.focus();
},
'scope': this
chList.focus();
}
});
chListPanel.show();
chList.focus();
}