[Commits] r300 - apps/opengeo/geoexplorer/trunk/lib
commits at geoext.org
commits at geoext.org
Tue Mar 31 01:05:43 CEST 2009
Author: sbenthall
Date: 2009-03-31 01:05:43 +0200 (Tue, 31 Mar 2009)
New Revision: 300
Modified:
apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
sending record copy to layer store; changing 'add layers' to 'available
layers'
Modified: apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js 2009-03-30 22:08:32 UTC (rev 299)
+++ apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js 2009-03-30 23:05:43 UTC (rev 300)
@@ -62,7 +62,7 @@
//adding group layers)
var record = sm.getSelected();
- this.mapPanel.layers.add([record]);
+ this.mapPanel.layers.add([record.copy()]);
}
Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js 2009-03-30 22:08:32 UTC (rev 299)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js 2009-03-30 23:05:43 UTC (rev 300)
@@ -106,7 +106,7 @@
})
}],
tbar: [new Ext.Button({
- text : "Add Layer",
+ text : "Available Layers...",
handler : this.showCapabilitiesGrid,
scope: this
})]
More information about the Commits
mailing list