Fix #873 prevent Firefox from cancling active XMLHttpRequests pressing escape

This commit is contained in:
j 2012-06-29 10:23:59 +02:00
parent da0fb1af50
commit 864eacfbd7

View file

@ -77,6 +77,11 @@ Ox.Keyboard = (function() {
buffer = '';
}, 1000);
//Firefox will cancel active XMLHttpRequests otherwise
if (keyName == 'escape') {
event.preventDefault();
}
return ret;
}