commit c63576d14b7ac81aea4ba4c7dcecdcc4359a01bc
parent 3fc3a84dba981994ff470e86823a32bcb1c36ff9
Author: Timo A. Hummel <felicitus@felicitus.org>
Date: Tue, 24 May 2016 15:56:22 +0200
Merge pull request #672 from partkeepr/PartKeepr-487
Added button for the project parts, fixes #487
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Project/ProjectPartGrid.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Project/ProjectPartGrid.js
@@ -90,6 +90,16 @@ Ext.define('PartKeepr.ProjectPartGrid', {
}
];
+ this.bbar = [
+ Ext.create("PartKeepr.Exporter.GridExporterButton", {
+ itemId: 'export',
+ genericExporter: false,
+ tooltip: i18n("Export"),
+ iconCls: "fugue-icon application-export",
+ disabled: this.store.isLoading()
+ })
+ ];
+
this.callParent();
this.getSelectionModel().on('selectionchange', this.onSelectChange, this);