[Commits] r1781 - sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins
commits at geoext.org
commits at geoext.org
Tue Jan 19 14:45:54 CET 2010
Author: adube
Date: 2010-01-19 14:45:53 +0100 (Tue, 19 Jan 2010)
New Revision: 1781
Modified:
sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeature.js
Log:
add action in unrendered toolbar fix
Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeature.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeature.js 2010-01-19 13:37:46 UTC (rev 1780)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/plugins/ExportFeature.js 2010-01-19 13:45:53 UTC (rev 1781)
@@ -22,7 +22,7 @@
var action = new Ext.Action(actionOptions);
var bbar = form.getBottomToolbar();
- if (bbar.rendered) {
+ if (bbar.rendered || !bbar.buttons) {
bbar.add(action);
} else {
bbar.buttons.push(action);
More information about the Commits
mailing list