[Commits] r1001 - apps/opengeo/geoexplorer/branches/0.1.x/lib

commits at geoext.org commits at geoext.org
Fri Jun 5 23:14:32 CEST 2009


Author: tschaub
Date: 2009-06-05 23:14:32 +0200 (Fri, 05 Jun 2009)
New Revision: 1001

Modified:
   apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
Log:
Changing popup use to based on r1000.

Modified: apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js	2009-06-05 20:23:38 UTC (rev 1000)
+++ apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js	2009-06-05 21:14:32 UTC (rev 1001)
@@ -942,6 +942,7 @@
             var lonlat = this.map.getLonLatFromPixel(evt.xy);
             popup = new GeoExt.Popup({
                 title: "Feature Info",
+                map: this.map,
                 lonlat: lonlat,
                 width: 250,
                 height: 300,
@@ -953,7 +954,6 @@
                     scope: this
                 }
             });
-            this.mapPanel.add(popup);
             popup.show();
             this.popupCache[popupKey] = popup;
         } else {



More information about the Commits mailing list