Can't we just stopPropagation/preventDefault on keycode 27?<br><br>C<br><br><br><div><span class="gmail_quote">On 12/4/06, <b class="gmail_sendername">Phil Mayers</b> <<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="mailto:glyph@divmod.com">glyph@divmod.com</a> wrote:<br>> On 12:31 am,
<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a> wrote:<br>> >Jean-Paul Calderone wrote:<br>> >>On Mon, 04 Dec 2006 00:08:05 +0000, Phil Mayers<br>> <<a href="mailto:p.mayers@imperial.ac.uk">
p.mayers@imperial.ac.uk</a>><br>> >>wrote:<br>> >>>Why?<br>> >>><br>> >>><a href="http://divmod.org/trac/browser/trunk/Nevow/nevow/js/Nevow/Athena/__init__.js#L570">http://divmod.org/trac/browser/trunk/Nevow/nevow/js/Nevow/Athena/__init__.js#L570
</a><br>> >><br>> >>Lack of time to implement something different.<br>> ><br>> >Ok, I guess what I'm asking is - why is it ever necessary for the<br>> client to<br>> >execute a close of the live connection via the keyboard (other than
<br>> >debugging of course) and will anything break if I comment that out?<br>> ><br>> >I'm guessing not.<br>><br>> If escape isn't handled, then sometimes it will invoke the "stop"<br>
> button, which causes random non-deterministic connection failures which<br>> aren't immediately reported. I don't entirely understand the situation,<br>> but an immediate failure is better than what was happening before.
<br>><br>> I believe this is actually fixable, but as JP says, we don't have time<br>> at the moment.<br><br>Hrm. Interesting. Ok. It's hardly a critical problem, thanks for taking<br>the time to reply (FWIW I was handling escape to trigger closure of an
<br>autocomplete dropdown <div>)<br><br>Do you happen to know what browsers the escape==stop behaviour occurs<br>under? I might take a look at it.<br><br>_______________________________________________<br>Twisted-web mailing list
<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
</a><br></blockquote></div><br>