PDA

View Full Version : Modal Window autoShow: false not working



martinrame
17 Jun 2012, 6:42 AM
Hi, I created a modal Ext.window.Window with autoRender and autoShow both set to false, to be able to load some data into it before showing, but the window is shown immediately after I create it using this:


var win = Ext.create('MyApp.view.MyWindow', {});


I would like to show it only by calling win.show();

How can I prevent this behavior?

I'm using ExtJs 4.1

Regards,
Leonardo.

martinrame
17 Jun 2012, 8:10 AM
Nevermind, I re-created the window and now it works as expected.