PDA

View Full Version : [CLOSED] 4.0.6 Ext.window.Window close by ESC key



hschaefer123
27 Sep 2011, 11:56 PM
The default behavior of window closing via ESC Key does not work.

I think the problem inside code is always disabling used keyMap!


if (me.closable) {
keyMap = me.getKeyMap();
keyMap.on(27, me.onEsc, me);

//if (hidden) { ? would be consistent w/before/afterShow...
keyMap.disable();
//}
}


I love this feature so please enable it again.:)

Cheers Holger

evant
28 Sep 2011, 12:05 AM
Dupe of: http://www.sencha.com/forum/showthread.php?145790