commit
596f0bbb4e
|
@ -3514,6 +3514,13 @@ function Ace2Inner(){
|
||||||
var keyCode = evt.keyCode;
|
var keyCode = evt.keyCode;
|
||||||
var which = evt.which;
|
var which = evt.which;
|
||||||
|
|
||||||
|
// prevent ESC key
|
||||||
|
if (keyCode == 27)
|
||||||
|
{
|
||||||
|
evt.preventDefault();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//dmesg("keyevent type: "+type+", which: "+which);
|
//dmesg("keyevent type: "+type+", which: "+which);
|
||||||
// Don't take action based on modifier keys going up and down.
|
// Don't take action based on modifier keys going up and down.
|
||||||
// Modifier keys do not generate "keypress" events.
|
// Modifier keys do not generate "keypress" events.
|
||||||
|
|
Loading…
Reference in New Issue