[Commits] r2602 - sandbox/redlining/ux/FeatureEditing/ux/widgets

commits at geoext.org commits at geoext.org
Wed Feb 9 13:16:22 CET 2011


Author: elemoine
Date: 2011-02-09 13:16:22 +0100 (Wed, 09 Feb 2011)
New Revision: 2602

Modified:
   sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js
Log:
make redlining compatible with GeoExt < 1, i.e. when a Popup was configured with a feature instead of a location

Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js	2011-02-09 07:40:33 UTC (rev 2601)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/FeatureEditingControler.js	2011-02-09 12:16:22 UTC (rev 2602)
@@ -700,6 +700,9 @@
         // display the popup
         popupOptions = {
             location: feature,
+            // the following line is here for compatibility with
+            // GeoExt < 1 (before changeset 2343)
+            feature: feature,
             controler: this,
             items: [this.featurePanel]
         };



More information about the Commits mailing list