View Full Version : remove window modal - issue

18 Dec 2012, 4:38 AM
I have created a window.. and applied modal:true to it
when i press "esc" key.. window gets closed ./.. and the modal gets removed...
but when I programatically close teh window, model is still available

var deleteWin = Ext.create('Ext.window.Window', {
listeners: {
scope: this,
show: function (win) {this.popupClose(win)}},
title: '',
plain: true,
border: false,
resizable: false,
draggable: false,
closable : true,
//modal: true,
header: false,
cls: 'popupCls',
items: this.addItemsDelete(allergyObject)

and am using

18 Dec 2012, 4:46 AM
Can you format this code and make a small working sample of it?

Ext.onReady(function() {

//Code here ...


18 Dec 2012, 5:20 AM
It worked now.. I gave wrong id.. thanks for support