IDEMPIERE-1364 Problem with the Find on any window having "tree" panel.
This commit is contained in:
parent
2a7ef9dda3
commit
350a5d6b26
|
@ -1293,7 +1293,8 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
||||||
if (recordId <= 0) return;
|
if (recordId <= 0) return;
|
||||||
|
|
||||||
//force on init render
|
//force on init render
|
||||||
if (TreeUtils.isOnInitRenderPosted(treePanel.getTree()) || treePanel.getTree().getTreechildren() == null) {
|
if (TreeUtils.isOnInitRenderPosted(treePanel.getTree()) || treePanel.getTree().getTreechildren() == null
|
||||||
|
|| treePanel.getTree().getTreechildren().getItemCount() == 0) {
|
||||||
treePanel.getTree().onInitRender();
|
treePanel.getTree().onInitRender();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue