[Commits] r1230 - apps/opengeo/geoexplorer/trunk/src/script/app
commits at geoext.org
commits at geoext.org
Mon Jul 6 16:57:24 CEST 2009
Author: ahocevar
Date: 2009-07-06 16:57:23 +0200 (Mon, 06 Jul 2009)
New Revision: 1230
Modified:
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
Log:
merged r1028 from the 0.1.x branch (closes http://projects.opengeo.org/geoext/ticket/276)
Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-06 13:03:46 UTC (rev 1229)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-06 14:57:23 UTC (rev 1230)
@@ -1190,6 +1190,7 @@
var lonlat = this.map.getLonLatFromPixel(evt.xy);
popup = new GeoExt.Popup({
title: "Feature Info",
+ layout: "accordion",
lonlat: lonlat,
map: this.mapPanel,
width: 250,
@@ -1214,8 +1215,10 @@
if (!(html === '' || html.match(/<body>\s*<\/body>/))) {
popup.add({
title: title,
+ layout: "fit",
html: html,
autoScroll: true,
+ autoWidth: true,
collapsible: true
});
}
More information about the Commits
mailing list