From ffb37f62e00d374326dd05be9a9d87aa70d3c65c Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Sat, 18 Aug 2012 02:46:55 +0800 Subject: [PATCH] IDEMPIERE-144 Performance: Remove the use of zk event thread. Fixed saving new record doesn't show mandatory missing error and goes into a state that the window can't be use further. --- .../src/org/adempiere/webui/panel/AbstractADWindowPanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java index 385457a80b..7dab4d7eee 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java @@ -1763,6 +1763,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To showLastError(); if (callback != null) callback.onCallback(false); + return; } else if (!onSaveEvent && !navigationEvent) //need manual refresh { curTab.setCurrentRow(curTab.getCurrentRow());