fix prevent ESC key patch

pull/984/head^2
NAGOYA, Yoshihiko 2012-08-30 13:20:30 +09:00 committed by ayokura/NAGOYA, Yoshihiko
parent 521e76ae44
commit 55cf1cabb5
1 changed files with 5 additions and 1 deletions

View File

@ -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.