Changeset 321


Ignore:
Timestamp:
04/01/09 22:04:07 (8 years ago)
Author:
dwins
Message:

Use anchored popups for Info button, instead of generic Ext windows.

Location:
apps/opengeo/geoexplorer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/opengeo/geoexplorer/trunk/debug.html

    r293 r321  
    66        <link rel="stylesheet" type="text/css" href="externals/ext/resources/css/ext-all.css" />
    77        <link rel="stylesheet" type="text/css" href="externals/ext/resources/css/xtheme-gray.css" />
     8        <link rel="stylesheet" type="text/css" href="externals/geoext/resources/css/geoext-all-debug.css" />
    89        <script type="text/javascript" src="externals/ext/adapter/ext/ext-base.js"></script>
    910        <script type="text/javascript" src="externals/ext/ext-all-debug.js"></script>
  • apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js

    r319 r321  
    292292
    293293        var lonlat = this.map.getLonLatFromPixel(evt.xy);
    294         var win = new Ext.Window({
     294        var win = new GeoExt.Popup({
    295295            html: html,
    296296            title: "Feature Info",
     
    298298            lonlat: lonlat
    299299        });
    300         this.mapPanel.add(win);
     300        win.addToMapPanel(this.mapPanel);
    301301        win.show();
    302302    },
Note: See TracChangeset for help on using the changeset viewer.