[Commits] r1927 - core/trunk/geoext/lib/GeoExt/data

commits at geoext.org commits at geoext.org
Sun Mar 7 12:01:14 CET 2010


Author: bartvde
Date: 2010-03-07 12:01:14 +0100 (Sun, 07 Mar 2010)
New Revision: 1927

Modified:
   core/trunk/geoext/lib/GeoExt/data/ScaleStore.js
Log:
GeoExt.data.ScaleStore does not unbind on destroy, r=elemoine (closes #232)

Modified: core/trunk/geoext/lib/GeoExt/data/ScaleStore.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/data/ScaleStore.js	2010-03-05 23:51:01 UTC (rev 1926)
+++ core/trunk/geoext/lib/GeoExt/data/ScaleStore.js	2010-03-07 11:01:14 UTC (rev 1927)
@@ -119,5 +119,12 @@
         }
 
         this.loadData(zooms);
+    },
+
+    /** private: method[destroy]
+     */
+    destroy: function() {
+        this.unbind();
+        GeoExt.data.ScaleStore.superclass.destroy.apply(this, arguments);
     }
 });



More information about the Commits mailing list