this.dialog = Roo.factory({
xtype: 'LayoutDialog',
xns: Roo,
+ listeners : {
+ show : function (_self)
+ {
+ if (this.keylistener) {
+ return;
+ }
+ this.keylistener = this.addKeyListener(27, this.hide, this);
+ }
+ },
closable : false,
collapsible : false,
haveProgress : false,
})
},
- listeners : {
- show : function (_self)
- {
-
- }
- },
items : [
{
xtype: 'ContentPanel',