X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..refs/tags/3.1.1:/src/dd/DragSource.js diff --git a/src/dd/DragSource.js b/src/dd/DragSource.js index 6a3ebad7..c658f428 100644 --- a/src/dd/DragSource.js +++ b/src/dd/DragSource.js @@ -1,6 +1,6 @@ /*! - * 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 */ @@ -361,5 +361,10 @@ Ext.extend(Ext.dd.DragSource, Ext.dd.DDProxy, { // private - pin to cursor autoOffset : function(x, y) { this.setDelta(-12, -20); - } + }, + + destroy: function(){ + Ext.dd.DragSource.superclass.destroy.call(this); + Ext.destroy(this.proxy); + } }); \ No newline at end of file