diff --git a/app/Application.js b/app/Application.js index 41a4cb5c..ab41cd40 100644 --- a/app/Application.js +++ b/app/Application.js @@ -13,6 +13,14 @@ Ext.define('Rambox.Application', { } ,launch: function () { - + // Add shortcuts to switch services using CTRL + Number + var map = new Ext.util.KeyMap({ + target: document + ,key: "0123456789" + ,ctrl: true + ,fn: function(key) { + Ext.cq1('app-main').setActiveTab(key - 48); + } + }); } });