[Commits] r857 - in apps/opengeo/geoexplorer/trunk/lib/GeoExplorer: . Embed
commits at geoext.org
commits at geoext.org
Fri May 22 23:54:15 CEST 2009
Author: dwins
Date: 2009-05-22 23:54:15 +0200 (Fri, 22 May 2009)
New Revision: 857
Modified:
apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js
apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/LayerMenuItem.js
Log:
De-bold the layer menu text.
Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js 2009-05-22 21:36:06 UTC (rev 856)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/Embed/Embed.js 2009-05-22 21:54:15 UTC (rev 857)
@@ -124,7 +124,7 @@
var updateLayerSwitcher = function() {
menu.removeAll();
menu.addItem(new Ext.menu.TextItem({
- text: '<h3> Layers </h3>'
+ text: 'Layers'
}));
this.mapPanel.layers.each(function(x) {
if (x.get("layer").displayInLayerSwitcher) {
Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/LayerMenuItem.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/LayerMenuItem.js 2009-05-22 21:36:06 UTC (rev 856)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer/LayerMenuItem.js 2009-05-22 21:54:15 UTC (rev 857)
@@ -36,7 +36,7 @@
this.panel.add(visibilityField);
this.panel.add(queryRadio);
- this.panel.add({html: '<b>' + layerRecord.get("title") + '</b>', border: false});
+ this.panel.add({html: layerRecord.get("title"), border: false});
this.panel.on("render", function(panel){
panel.getEl().swallowEvent("click");
More information about the Commits
mailing list