Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / dd / StatusProxy.js
index 5806535..2de9344 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * 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
@@ -137,8 +137,8 @@ Ext.dd.StatusProxy.prototype = {
      * 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
@@ -167,5 +167,9 @@ Ext.dd.StatusProxy.prototype = {
         }\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