From 1898b69191b8a49bb77c859b33e9b41a5aa90b3e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 26 Nov 2014 17:42:27 -0500 Subject: [PATCH] IDEMPIERE-2346 Error CSV Exporting Broadcast Message --- .../org/adempiere/webui/adwindow/AbstractADWindowContent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java index 0d9ea60ad5..fd8fd2a64c 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java @@ -1622,8 +1622,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements toolbar.enablePrint(adTabbox.getSelectedGridTab().isPrinted() && !isNewRow); toolbar.enableReport(!isNewRow); - toolbar.enableExport(!adTabbox.getSelectedGridTab().isSortTab()); - toolbar.enableFileImport(!changed && !adTabbox.getSelectedGridTab().isSortTab() && adTabbox.getSelectedGridTab().isInsertRecord()); + toolbar.enableExport(!isNewRow && !adTabbox.getSelectedGridTab().isSortTab()); + toolbar.enableFileImport(!isNewRow && !changed && !adTabbox.getSelectedGridTab().isSortTab() && adTabbox.getSelectedGridTab().isInsertRecord()); toolbar.enableTabNavigation(breadCrumb.hasParentLink(), adTabbox.getSelectedDetailADTabpanel() != null);