fix(console) F10 -> TRA

This commit is contained in:
coderaiser 2013-06-25 10:47:10 +00:00
parent a444b009c2
commit ff3bed82b8
2 changed files with 20 additions and 40 deletions

View file

@ -48,8 +48,10 @@ var CloudCmd, Util, DOM, $;
// Handle a command.
var handler = function(command) {
if (command)
if (command) {
Images.showLoad({ top:true });
CloudCmd.Socket.send(command);
}
jqconsole.Prompt(true, handler);
};
@ -89,14 +91,15 @@ var CloudCmd, Util, DOM, $;
}
function listener(pEvent){
var lF10 = Key.F10,
var lTRA = Key.TRA,
lESC = Key.ESC,
lIsBind = Key.isBind(),
lKey = pEvent.keyCode;
switch(lKey){
case lF10:
Console.show();
case lTRA:
if (lIsBind)
Console.show();
break;
case lESC:
Console.hide();