fix prevent ESC key patch
parent
521e76ae44
commit
55cf1cabb5
|
@ -3515,7 +3515,11 @@ function Ace2Inner(){
|
|||
var which = evt.which;
|
||||
|
||||
// prevent ESC key
|
||||
if (keyCode == 27) return;
|
||||
if (keyCode == 27)
|
||||
{
|
||||
evt.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
//dmesg("keyevent type: "+type+", which: "+which);
|
||||
// Don't take action based on modifier keys going up and down.
|
||||
|
|
Loading…
Reference in New Issue