jay@moduscreate.com
16 Dec 2009, 5:36 AM
When destroying charts with tips, the delete call causes the exception per the M$ Script debugger.
to reproduce, visit: http://extjsinaction.com/examples/chapter10/pie_chart.html
hover to show the tip, and close the window.
onDestroy: function(){
Ext.chart.Chart.superclass.onDestroy.call(this);
this.bindStore(null);
var tip = this.tipFnName;
if(!Ext.isEmpty(tip)){
delete window[tip];
}
}
to reproduce, visit: http://extjsinaction.com/examples/chapter10/pie_chart.html
hover to show the tip, and close the window.
onDestroy: function(){
Ext.chart.Chart.superclass.onDestroy.call(this);
this.bindStore(null);
var tip = this.tipFnName;
if(!Ext.isEmpty(tip)){
delete window[tip];
}
}