Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / dd / DragSource.js
index 66fcb23..bbc5354 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
  * Copyright(c) 2006-2009 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\r
     autoOffset : function(x, y) {\r
         this.setDelta(-12, -20);\r
-    }    \r
+    },\r
+    \r
+    destroy: function(){\r
+        Ext.dd.DragSource.superclass.destroy.call(this);\r
+        Ext.destroy(this.proxy);\r
+    }\r
 });
\ No newline at end of file