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

commits at geoext.org commits at geoext.org
Wed Jun 3 22:30:49 CEST 2009


Author: tcoulter
Date: 2009-06-03 22:30:49 +0200 (Wed, 03 Jun 2009)
New Revision: 980

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
Little bit of cleanup.

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-03 20:24:16 UTC (rev 979)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-03 20:30:49 UTC (rev 980)
@@ -1255,13 +1255,13 @@
                     return;
                 }
 
-                sourcesUsed[source.data.identifier] = source.get("url");
+                sourcesUsed[source.get("identifier")] = source.get("url");
                 
                 var c = {
                     name: layerRecord.get("name"),
                     visibility: layer.getVisibility(),
                     background: layerRecord.get('background'),
-                    ows: source.data.identifier
+                    ows: source.get("identifier")
                 };
 
                 config.map.layers.push(c);



More information about the Commits mailing list