[fusion-commits] r1679 - branches/fusion-1.1/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Nov 20 15:24:12 EST 2008


Author: madair
Date: 2008-11-20 15:24:11 -0500 (Thu, 20 Nov 2008)
New Revision: 1679

Modified:
   branches/fusion-1.1/widgets/SelectRadiusValue.js
Log:
re #181: trigger drawing on FUSION_INITIALIZED

Modified: branches/fusion-1.1/widgets/SelectRadiusValue.js
===================================================================
--- branches/fusion-1.1/widgets/SelectRadiusValue.js	2008-11-19 22:10:33 UTC (rev 1678)
+++ branches/fusion-1.1/widgets/SelectRadiusValue.js	2008-11-20 20:24:11 UTC (rev 1679)
@@ -48,7 +48,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