From 35d426bb9ac595a3d2a1a030ad05fd02ec8d3a94 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 15 Jan 2022 17:04:45 +0100 Subject: [PATCH] IDEMPIERE-1555 fix old typo (#1133) --- .../WEB-INF/src/org/adempiere/webui/component/DocumentLink.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DocumentLink.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DocumentLink.java index 93eaebb083..4ada9fd394 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DocumentLink.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/DocumentLink.java @@ -91,7 +91,7 @@ public class DocumentLink extends A implements EventListener { public void onEvent(Event event) throws Exception { if(event.getTarget() instanceof DocumentLink){ DocumentLink documentLink = (DocumentLink)event.getTarget(); - if (documentLink.getAdTableId() > 0 && documentLink.getAdTableId() > 0) + if (documentLink.getAdTableId() > 0 && documentLink.getRecordId() > 0) AEnv.zoom(documentLink.getAdTableId(), documentLink.getRecordId()); } }