[ adempiere-ZK Web Client-1883132 ] Open Invoice (Vendor) window throw errors in log

This commit is contained in:
Heng Sin Low 2008-01-31 00:25:09 +00:00
parent ad78162d2d
commit 434f2d4c7e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}