PDA

View Full Version : [3.x r5790] Ext.chart.Chart.onDestroy causes exception in IE6



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];
}
}

jay@moduscreate.com
16 Dec 2009, 5:38 AM
Confirmed for IE7