Nov 18, 2010, 2:01 PM
[CLOSED] Ext.Msg.Confirm Key Binding?
Just a quick one. I search Sencha API and Forum but found nothing.
How to catch the "ESC" Key pressed on confirm or any Msg?
How to catch the "ESC" Key pressed on confirm or any Msg?
Ext.Msg.confirm('Test','Some Question?', function (btn) {
if (btn == 'yes') {
alert('yes');
}else{
alert('not yes');
}
});
If I click Yes,No I get into the callback, but on ESC Key it just closes.
Last edited by Daniil; Nov 22, 2010 at 9:20 AM.
Reason: [CLOSED]