Hi Fabian,

Fabian Jakobs wrote:
>> By default, browsers interrupt a currently running request when Escape 
>> is pressed. We have a case where Escape triggers a request, when Escape 
>> is pressed twice (for whatever reason), the second key press stops the 
>> request that the first one issued. Any ideas?

> Does a "preventDefault()" call in the key event handler on the event 
> object help? Normally this should prevent the default browser behavior. 
> Unfortunately some events are not preventable and the browser always 
> performs its default action. Maybe the escape key is such an exception.

Yes, that does the trick! :) I just wasn't aware of this method. Thanks 
a lot!

Cheers, Ralf


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to