From 154a6b39be035a7b9b73b202d3719245ab575d5e Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 23 Sep 2013 16:55:24 -0700 Subject: [PATCH] Use t as shortcut to series search navigator --- UI/app.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/UI/app.js b/UI/app.js index 8f64f4790..d726c0830 100644 --- a/UI/app.js +++ b/UI/app.js @@ -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; });