Revision 245c788e ui/templates/machines.html
b/ui/templates/machines.html | ||
---|---|---|
656 | 656 |
} |
657 | 657 |
}; |
658 | 658 |
|
659 |
$('*').keydown(function (){ |
|
659 |
$('*').keydown(function (event){ |
|
660 |
if (event.keyCode == '9') { |
|
661 |
event.preventDefault(); |
|
662 |
return false; |
|
663 |
} |
|
660 | 664 |
if ($('#add-dialog').is(":visible") && !$('#edit-dialog textarea').length && !($('input.key').is(':focus') || $('textarea.value').is(':focus'))){ |
661 | 665 |
$('input.key').focus(); |
662 | 666 |
$('input.key').focusin(); |
Also available in: Unified diff