[Commits] r1782 - sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins

commits at geoext.org commits at geoext.org
Tue Jan 19 16:04:02 CET 2010


Author: adube
Date: 2010-01-19 16:04:02 +0100 (Tue, 19 Jan 2010)
New Revision: 1782

Modified:
   sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeatures.js
   sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ImportFeatures.js
Log:
import and export actions from plugins are added to the controler.actions array

Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeatures.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeatures.js	2010-01-19 13:45:53 UTC (rev 1781)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeatures.js	2010-01-19 15:04:02 UTC (rev 1782)
@@ -19,6 +19,7 @@
 
         var action = new Ext.Action(actionOptions);
         form.getTopToolbar().add(action);
+        this.controler.actions.push(action);
     },
 
     exportFeatures: function() {

Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ImportFeatures.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ImportFeatures.js	2010-01-19 13:45:53 UTC (rev 1781)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ImportFeatures.js	2010-01-19 15:04:02 UTC (rev 1782)
@@ -22,6 +22,7 @@
 
         var action = new Ext.Action(actionOptions);
         form.getTopToolbar().add(action);
+        this.controler.actions.push(action);
     },
 
     importFeatures: function() {



More information about the Commits mailing list