X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/dd/StatusProxy.js diff --git a/src/dd/StatusProxy.js b/src/dd/StatusProxy.js index 1f84fc51..a0d0d1b5 100644 --- a/src/dd/StatusProxy.js +++ b/src/dd/StatusProxy.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * 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 */ @@ -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 * invalid drop operation by the item being dragged. * @param {Array} xy The XY position of the element ([x, y]) - * @param {Function} callback The function to call after the repair is complete - * @param {Object} scope The scope in which to execute the callback + * @param {Function} callback The function to call after the repair is complete. + * @param {Object} scope The scope (this reference) in which the callback function is executed. Defaults to the browser window. */ repair : function(xy, callback, scope){ this.callback = callback; @@ -167,5 +167,9 @@ Ext.dd.StatusProxy.prototype = { } this.callback = null; this.scope = null; + }, + + destroy: function(){ + Ext.destroy(this.ghost, this.el); } }; \ No newline at end of file