View Full Version : Check popup window is already open

1 Mar 2013, 11:04 AM
I am using Ext.Window to show a popup form. I am having a problem that if the form is already open and the user again clicks on the popup form to display another pop up opens and the form is displayed with missing fields. Actually both open forms are overlapped and the user cannot enter the anything in the form. Is there any way to check that the popup is already open and if the popup is already open then we disallow the popup to open. Thanks in advance.

4 Mar 2013, 12:48 AM
Hi Evs,

Give "modal:true" config to your window, to make the window modal and mask everything behind it when displayed.

For more detial read API docs. http://docs.sencha.com/ext-js/4-1/#!/api/Ext.window.Window-cfg-modal

4 Mar 2013, 3:40 AM
Thanks for the reply sword-it. I have solved my problem.