[Commits] r1728 - sandbox/redlining/ux/FeatureEditing/ux/widgets/form

commits at geoext.org commits at geoext.org
Tue Jan 12 21:38:34 CET 2010


Author: adube
Date: 2010-01-12 21:38:34 +0100 (Tue, 12 Jan 2010)
New Revision: 1728

Modified:
   sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js
Log:
there's a popup glitch when re-editing a feature with attributes...

Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js	2010-01-12 20:17:47 UTC (rev 1727)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js	2010-01-12 20:38:34 UTC (rev 1728)
@@ -105,7 +105,7 @@
         this.initToolbar();
         this.initForm();
 
-        this.on("afterrender", this.onAfterRender, this);
+        //this.on("afterrender", this.onAfterRender, this);
 
         GeoExt.ux.form.FeaturePanel.superclass.initComponent.call(this);
     },
@@ -162,7 +162,8 @@
             field = {
                 'name': attribute,
                 'fieldLabel': attribute,
-                'id': attribute
+                'id': attribute,
+                'value': feature.attributes[attribute]
             };
             oGroupItems.push(field);
         }



More information about the Commits mailing list