[Commits] r984 - apps/opengeo/geoexplorer/trunk/lib

commits at geoext.org commits at geoext.org
Thu Jun 4 20:10:05 CEST 2009


Author: dwins
Date: 2009-06-04 20:10:05 +0200 (Thu, 04 Jun 2009)
New Revision: 984

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
Ensure that popupCache is instance-local


Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-04 18:02:00 UTC (rev 983)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-04 18:10:05 UTC (rev 984)
@@ -78,7 +78,7 @@
      *
      * ..seealso:: :method:`GeoExplorer.displayPopup()`
      */
-    popupCache: {},
+    popupCache: null,
     
     /** api: property[layerSources]
      * A :class:`Ext.data.Store` containing one 
@@ -95,6 +95,8 @@
      * capabilities from remote servers, populating the map, etc.
      */
     load: function() {
+        this.popupCache = {};
+
         this.layerSources = new Ext.data.SimpleStore({
             fields: ["identifier", "name", "store", "url"],
             data: []



More information about the Commits mailing list