[Commits] r2817 - sandbox/gxm/geoext/gxm/lib/GXM/widgets

commits at geoext.org commits at geoext.org
Wed Aug 17 16:18:19 CEST 2011


Author: marcjansen
Date: 2011-08-17 16:18:19 +0200 (Wed, 17 Aug 2011)
New Revision: 2817

Modified:
   sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js
Log:
[gxm] delete the properties mapPanel and map on destroy

Modified: sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js
===================================================================
--- sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js	2011-08-17 14:17:30 UTC (rev 2816)
+++ sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js	2011-08-17 14:18:19 UTC (rev 2817)
@@ -299,6 +299,9 @@
         }
         
         delete this.control;
+        delete this.mapPanel;
+        delete this.map;
+        
         GXM.Button.superclass.beforeDestroy.call(this);
     }
 });



More information about the Commits mailing list