<html>\r
<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
* 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
};</pre> \r
</body>\r