[fusion-commits] r1680 - trunk/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Nov 20 15:25:23 EST 2008


Author: madair
Date: 2008-11-20 15:25:23 -0500 (Thu, 20 Nov 2008)
New Revision: 1680

Modified:
   trunk/widgets/SelectRadiusValue.js
Log:
closes #181: trigger drawing on FUSION_INITIALIZED - applied to trunk

Modified: trunk/widgets/SelectRadiusValue.js
===================================================================
--- trunk/widgets/SelectRadiusValue.js	2008-11-20 20:24:11 UTC (rev 1679)
+++ trunk/widgets/SelectRadiusValue.js	2008-11-20 20:25:23 UTC (rev 1680)
@@ -44,7 +44,7 @@
         this.label = json.Label ? json.Label[0] : '';
         this.className = json.ClassName ? json.ClassName[0] : '';
         
-        this.getMap().registerForEvent(Fusion.Event.MAP_LOADED, OpenLayers.Function.bind(this.mapLoaded, this));
+        Fusion.registerForEvent(Fusion.Event.FUSION_INITIALIZED, OpenLayers.Function.bind(this.mapLoaded, this));
         this.getMap().registerForEvent(Fusion.Event.MAP_EXTENTS_CHANGED, OpenLayers.Function.bind(this.mapExtentsChanged, this));
     },
     



More information about the fusion-commits mailing list