Use t as shortcut to series search navigator

This commit is contained in:
Mark McDowall 2013-09-23 16:55:24 -07:00
parent df967c1ed1
commit 154a6b39be
1 changed files with 11 additions and 0 deletions

View File

@ -230,5 +230,16 @@ define(
'jQuery/TooltipBinder'
]);
$(document).on('keydown', function (e){
if ($(e.target).is('input')) {
return;
}
if (e.keyCode === 84) {
$('.x-series-search').focus();
e.preventDefault();
}
});
return app;
});