From 573e919b3a3e1070653d1f2da4d12ce412682ada Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 21 Jan 2013 21:59:48 -0800 Subject: [PATCH] IDEMPIERE-377 Improve current search dialog box - Lookup button on toolbar continues to insert a new record - Thanks to Juliana --- .../WEB-INF/src/org/adempiere/webui/window/FindWindow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java index 36843e8a8a..809036a8db 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FindWindow.java @@ -992,6 +992,7 @@ public class FindWindow extends Window implements EventListener, ValueCha public void onEvent(Event event) throws Exception { + m_createNew = false; if (Events.ON_SELECT.equals(event.getName())) { if (event.getTarget() instanceof Listbox)