/*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.1.1
+ * Copyright(c) 2006-2010 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
* Causes the proxy to return to its position of origin via an animation. Should be called after an\r
* invalid drop operation by the item being dragged.\r
* @param {Array} xy The XY position of the element ([x, y])\r
- * @param {Function} callback The function to call after the repair is complete\r
- * @param {Object} scope The scope in which to execute the callback\r
+ * @param {Function} callback The function to call after the repair is complete.\r
+ * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.\r
*/\r
repair : function(xy, callback, scope){\r
this.callback = callback;\r
}\r
this.callback = null;\r
this.scope = null;\r
+ },\r
+ \r
+ destroy: function(){\r
+ Ext.destroy(this.ghost, this.el); \r
}\r
};
\ No newline at end of file