From 2da4482e071f6785c9b19b5ee694bd96003a722d Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 30 Jul 2008 05:21:13 +0000 Subject: [PATCH] * Fixed invalid child error when no zoom across target. --- zkwebui/WEB-INF/src/org/adempiere/webui/WZoomAcross.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/WZoomAcross.java b/zkwebui/WEB-INF/src/org/adempiere/webui/WZoomAcross.java index ec8c2d6dbb..bba37304f5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/WZoomAcross.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/WZoomAcross.java @@ -150,7 +150,8 @@ public class WZoomAcross implements EventListener // No Zoom if (m_list.size() == 0) { - m_popup.appendChild(new Label(Msg.getMsg(Env.getCtx(), "NoZoomTarget"))); // Added + Menuitem menuItem = new Menuitem(Msg.getMsg(Env.getCtx(), "NoZoomTarget")); + m_popup.appendChild(menuItem); // Added log.info("BaseLanguage=" + baseLanguage); } m_popup.setPage(invoker.getPage());