From a3b97de98f78c74ffc1c2b9a94a1156f473def91 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Sat, 6 Dec 2008 23:16:29 +0000 Subject: [PATCH] Fixed dynamic display regression. --- .../src/org/adempiere/webui/panel/ADTabpanel.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTabpanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTabpanel.java index d20696edb6..63d3267eb4 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTabpanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTabpanel.java @@ -475,7 +475,17 @@ DataStatusListener, IADTabpanel // Selective if (col > 0) - return; + { + GridField changedField = gridTab.getField(col); + String columnName = changedField.getColumnName(); + ArrayList dependants = gridTab.getDependantFields(columnName); + logger.config("(" + gridTab.toString() + ") " + + columnName + " - Dependents=" + dependants.size()); + if (dependants.size() == 0 && changedField.getCallout().length() > 0) + { + return; + } + } boolean noData = gridTab.getRowCount() == 0; logger.config(gridTab.toString() + " - Rows=" + gridTab.getRowCount());