[Commits] r2517 - sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets

commits at geoext.org commits at geoext.org
Wed Dec 8 16:53:30 CET 2010


Author: adube
Date: 2010-12-08 16:53:30 +0100 (Wed, 08 Dec 2010)
New Revision: 2517

Modified:
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js
Log:
WMSBrowser - layeradded event now sending the layerRecord

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js	2010-12-08 14:57:29 UTC (rev 2516)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js	2010-12-08 15:53:30 UTC (rev 2517)
@@ -799,7 +799,7 @@
 
             this.layerStore.add(newLayerRecord);
 
-            this.fireEvent('layeradded');
+            this.fireEvent('layeradded', {'layerRecord': newLayerRecord});
 
             if(this.zoomOnLayerAdded) {
                 // zoom to added layer extent (in the current map projection)



More information about the Commits mailing list