From 434f2d4c7efc6d3f04b0d49172af01cf3b2b5fe1 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Thu, 31 Jan 2008 00:25:09 +0000 Subject: [PATCH] [ adempiere-ZK Web Client-1883132 ] Open Invoice (Vendor) window throw errors in log --- base/src/org/compiere/model/MLookup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/MLookup.java b/base/src/org/compiere/model/MLookup.java index 127ec0e5a2..3c52f710c5 100644 --- a/base/src/org/compiere/model/MLookup.java +++ b/base/src/org/compiere/model/MLookup.java @@ -668,7 +668,7 @@ public final class MLookup extends Lookup implements Serializable // Bug 1843862 - Lookups not working on Report Viewer window // globalqss - when called from Viewer window ignore error about unparsabe context variables // there is no context in report viewer windows - if (! Env.getWindow(m_info.WindowNo).getClass().getName().equals("org.compiere.print.Viewer")) { + if (Ini.isClient() == false || !Env.getWindow(m_info.WindowNo).getClass().getName().equals("org.compiere.print.Viewer")) { m_lookup.clear(); return; }