Hybrid View
-
26 Jul 2012 1:03 AM #1
Unanswered: Window Forms inside Tabpanel remain visible after closing the tab
Unanswered: Window Forms inside Tabpanel remain visible after closing the tab
Hi, I'am new to extjs, so I'am not sure if its a bug or not so I posted it here.
I have Tabpanel, each Tab has gridpanel inside with buttons that will pop-up window forms(modal is set to true).
Main view.png
My problem is that when there is only one Tabpanel item and try to close the Tab while window form is still active/open/showing, the window form and its modal mask remain visible (suppose to be deleted together with its container)
2 Add Window Form.png4 Bug.png
I hope you can help me fix this, Thanks in advance
-
26 Jul 2012 3:39 AM #2
You could use the beforedestroy event to check if your window is showing
Code:listeners: { beforedestroy: function() { if(window = Ext.getCmp('userWindow')) window.destroy(); } }
-
26 Jul 2012 6:29 PM #3


Reply With Quote
