IDEMPIERE-185 Zk6: Context menu not working after migration to Zk6 - Fixed NPE of previous commit.

This commit is contained in:
Heng Sin Low 2012-03-14 08:53:20 +08:00
parent 1eb1f8ab6f
commit 9c5999e716
1 changed files with 2 additions and 2 deletions

View File

@ -491,8 +491,8 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
{
popupMenu.addMenuListener((ContextMenuListener)editor);
div.appendChild(popupMenu);
}
popupMenu.addContextElement((XulElement) editor.getComponent());
popupMenu.addContextElement((XulElement) editor.getComponent());
}
//check context
if (!gridField[i].isDisplayed(true))