View Full Version : [2.0b1][CLOSED] Close on Escape

28 Oct 2007, 12:03 PM
Can we have close on escape for windows be optional? It gets annoying if you have a combobox and you hit escape one to many times to get the dropdown off and all of a sudden your window is gone. Most programs don't close on escape anyways on a regular desktop.

28 Oct 2007, 1:39 PM
Specify onEsc:Ext.emptyFn in the config

I'll document onEsc as public and overridable to provide your own onEsc behaviour.. with a suggestion that it's main use might be turning off closing on escape.