* Fixed invalid child error when no zoom across target.

This commit is contained in:
Heng Sin Low 2008-07-30 05:21:13 +00:00
parent 3b1af20c72
commit 2da4482e07
1 changed files with 2 additions and 1 deletions

View File

@ -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());