From dbeebf529f49825fadae3de8af86d87555e00227 Mon Sep 17 00:00:00 2001 From: Juliana Corredor Date: Wed, 29 May 2013 18:34:18 -0500 Subject: [PATCH] IDEMPIERE-981 Import File Loader Format problem --- .../src/org/adempiere/webui/apps/form/WFileImport.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java index d091df1011..10c8ae394a 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java @@ -454,8 +454,12 @@ public class WFileImport extends ADForm implements EventListener String formatName = (String)listitem.getLabel(); - if (formatName.equals(s_none)) + if (formatName.equals(s_none)) { + confirmPanel.getButton("Ok").setEnabled(false); + m_format=null; return; + } + int formatId = (Integer)listitem.getValue(); m_format = ImpFormat.load (formatId);