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

commits at geoext.org commits at geoext.org
Sat Jun 6 01:11:56 CEST 2009


Author: ahocevar
Date: 2009-06-06 01:11:56 +0200 (Sat, 06 Jun 2009)
New Revision: 1011

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
use new GeoExt.Popup API

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-05 23:09:20 UTC (rev 1010)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-05 23:11:56 UTC (rev 1011)
@@ -1301,6 +1301,7 @@
             popup = new GeoExt.Popup({
                 title: "Feature Info",
                 lonlat: lonlat,
+                map: this.mapPanel,
                 width: 250,
                 height: 300,
                 autoScroll: true,
@@ -1313,7 +1314,6 @@
                     scope: this
                 }
             });
-            this.mapPanel.add(popup);
             popup.show();
             this.popupCache[popupKey] = popup;
         } else {



More information about the Commits mailing list