[Commits] r2202 - core/trunk/geoext/lib/GeoExt/widgets

commits at geoext.org commits at geoext.org
Thu May 20 17:33:01 CEST 2010


Author: ahocevar
Date: 2010-05-20 17:33:01 +0200 (Thu, 20 May 2010)
New Revision: 2202

Modified:
   core/trunk/geoext/lib/GeoExt/widgets/FeatureRenderer.js
Log:
don't draw features before this.el is added to the dom. r=tschaub (closes #286)

Modified: core/trunk/geoext/lib/GeoExt/widgets/FeatureRenderer.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/FeatureRenderer.js	2010-05-20 13:05:32 UTC (rev 2201)
+++ core/trunk/geoext/lib/GeoExt/widgets/FeatureRenderer.js	2010-05-20 15:33:01 UTC (rev 2202)
@@ -181,8 +181,9 @@
             }).createDelegate(this)
         };
         
+        GeoExt.FeatureRenderer.superclass.onRender.apply(this, arguments);
+
         this.drawFeature();
-        GeoExt.FeatureRenderer.superclass.onRender.apply(this, arguments);
     },
 
     /** private: method[afterRender]



More information about the Commits mailing list