Nash-T
5 May 2009, 2:56 PM
Form loaded in a panel. The form contains an htmleditor. When I try to call:
Ext.getCmp('panelContainingFormWithHTMLEditor').destroy();
The panel is only partially destroyed.
debugger result: The destroy call does not complete (no return of void)
temporary work around:
changed code in ext-all-debug.js at line 34218 from:
this.wrap.dom.innerHTML = '';
this.wrap.remove();
to:
if (this.wrap.dom){
this.wrap.dom.innerHTML = '';
this.wrap.remove();
}
I have no idea what the impact of this code change is. DO NOT USE in production code.
Environment:
ext 3.0 rc1.1
firefox 3 mac tiger
I haven't checked for a fix in SVN
Thanks!
-Tim
Ext.getCmp('panelContainingFormWithHTMLEditor').destroy();
The panel is only partially destroyed.
debugger result: The destroy call does not complete (no return of void)
temporary work around:
changed code in ext-all-debug.js at line 34218 from:
this.wrap.dom.innerHTML = '';
this.wrap.remove();
to:
if (this.wrap.dom){
this.wrap.dom.innerHTML = '';
this.wrap.remove();
}
I have no idea what the impact of this code change is. DO NOT USE in production code.
Environment:
ext 3.0 rc1.1
firefox 3 mac tiger
I haven't checked for a fix in SVN
Thanks!
-Tim