From d5a475edd8fedf34a29404bbf5d602acbeea8805 Mon Sep 17 00:00:00 2001 From: Felicitus Date: Tue, 24 May 2016 14:52:34 +0200 Subject: [PATCH] Added button for the project parts, fixes #487 --- .../public/js/Components/Project/ProjectPartGrid.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Project/ProjectPartGrid.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Project/ProjectPartGrid.js index 85f2281b1..c7bf6fdc8 100644 --- 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);