/*!
- * Ext JS Library 3.0.0
+ * Ext JS Library 3.1.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
this.waitTimer = Ext.TaskMgr.start({\r
run: function(i){\r
var inc = o.increment || 10;\r
+ i -= 1;\r
this.updateProgress(((((i+inc)%inc)+1)*(100/inc))*0.01, null, o.animate);\r
},\r
interval: o.interval || 1000,\r
this.hide();\r
}\r
return this;\r
+ },\r
+ \r
+ onDestroy: function(){\r
+ if(this.rendered){\r
+ if(this.textEl.isComposite){\r
+ this.textEl.clear();\r
+ }\r
+ Ext.destroyMembers(this, 'textEl', 'progressBar', 'textTopEl');\r
+ }\r
+ Ext.ProgressBar.superclass.onDestroy.call(this);\r
}\r
});\r
Ext.reg('progress', Ext.ProgressBar);
\ No newline at end of file