PDA

View Full Version : HTMLEditor destroy() Method in IE



purlogic
9 Apr 2010, 11:28 AM
Hello:

I am a little confused here. I have an HTMLEditor that I am trying to call the destroy() method on. Works flawlessly in Firefox, however, once again, IE 7.0.5730 is giving me problems...

IE is reporting that "Object doesn't support this property or method" on line 39196 of ext-all-debug.js

I am using Ext JS Library 3.1.0, on line 39195, the function "getWin" returns either this.iframe.contentWindow for IE or window.frames[this.iframe.name] for other browsers. When I alert(typeof(this.iframe.contentWindow)) for IE, I get "unknown"....?

I have a handle on the object that I get during the instantiation (using the new operator). I also assigned an ID to the element and used the getCmp(id), with the same effect.

Any guidance into what may be going on would be greatly appreciated!

mdissel
22 Nov 2010, 10:38 AM
Do you a fix of this issue?

Condor
23 Nov 2010, 6:49 AM
Can you post the callstack of the error?

HtmlEditor shouldn't be calling getWin after the editor is destroyed, the result would no longer be valid.