PDA

View Full Version : ext3/window:win.hide() raises error in IE



mabra
8 Aug 2009, 5:09 AM
Hi All !

I am just learning ext - using ext3 - and I copied over the sample [2.0 migraion guide, http://extjs.com/learn/Ext_1_to_2_Migration_Guide] (http://extjs.com/learn/Ext_1_to_2_Migration_Guide%5D) to use a window with layout [in the mentioned article, it's at: Upgrading LayoutDialog to Window/ext2 code]. From my API point of view, there is no difference to ext3 regarding this simple sample, but clicking the close button in IE [6.x], causes a script error, which I'll get rid off. The error do not appear with FF.

I made my used sample/code available here [html + script inline]: http://www.manfbraun.de/cont/tech/probs/WindowFromContent.htm

Any help would be great!!!!

br--mabra

mabra
8 Aug 2009, 5:11 AM
Hi !

Note:The "win.hide()" function is on the button!

br--mabra

Roderik
6 Apr 2010, 12:47 AM
Hi mabra,

I've got the same issue. Isn't it allowed to hide itself?

mabra
6 Apr 2010, 10:00 AM
Hi !

Sorry, no one answered that for me and the problem - with the given sample - just exists.
This was on my early lerning phase and I used other way, but I do not remember [soory, it's about a year ...].

br++mabra