From 191def43cf935716bc116f75410cec2e09217c99 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Mon, 26 Feb 2007 11:13:55 +0000 Subject: [PATCH] BF [ 1667073 ] In the help window, hidden fields should not be displayed --- base/src/org/compiere/model/GridWindow.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/base/src/org/compiere/model/GridWindow.java b/base/src/org/compiere/model/GridWindow.java index c98767ce20..638a3097b7 100644 --- a/base/src/org/compiere/model/GridWindow.java +++ b/base/src/org/compiere/model/GridWindow.java @@ -445,6 +445,10 @@ public class GridWindow implements Serializable for (int j = 0; j < tab.getFieldCount(); j++) { GridField field = tab.getField(j); + // hidden fields should not be displayed - teo_sarca, [ 1667073 ] + if (!field.isDisplayed(false)) { + continue; + } String hdr = field.getHeader(); if (hdr != null && hdr.length() > 0) { @@ -461,6 +465,10 @@ public class GridWindow implements Serializable for (int j = 0; j < tab.getFieldCount(); j++) { GridField field = tab.getField(j); + // hidden fields should not be displayed - teo_sarca, [ 1667073 ] + if (!field.isDisplayed(false)) { + continue; + } String hdr = field.getHeader(); if (hdr != null && hdr.length() > 0) {