IDEMPIERE-1381 Cant find - Record Detail for translation - bottom panel

This commit is contained in:
Carlos Ruiz 2013-10-23 10:51:58 -05:00
parent 84464e2b85
commit de55755042
1 changed files with 15 additions and 14 deletions

View File

@ -308,8 +308,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
if (gridTab.isTreeTab()) if (gridTab.isTreeTab())
AD_Tree_ID = MTree.getDefaultAD_Tree_ID ( AD_Tree_ID = MTree.getDefaultAD_Tree_ID (
Env.getAD_Client_ID(Env.getCtx()), gridTab.getKeyColumnName()); Env.getAD_Client_ID(Env.getCtx()), gridTab.getKeyColumnName());
if (gridTab.isTreeTab() && AD_Tree_ID != 0)
{
StringBuilder cssContent = new StringBuilder(); StringBuilder cssContent = new StringBuilder();
cssContent.append(".adtab-form-borderlayout .z-south-colpsd:before { "); cssContent.append(".adtab-form-borderlayout .z-south-colpsd:before { ");
cssContent.append("content: \""); cssContent.append("content: \"");
@ -324,6 +323,8 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
style.setContent(cssContent.toString()); style.setContent(cssContent.toString());
appendChild(style); appendChild(style);
if (gridTab.isTreeTab() && AD_Tree_ID != 0)
{
Borderlayout layout = new Borderlayout(); Borderlayout layout = new Borderlayout();
layout.setParent(this); layout.setParent(this);
layout.setSclass("adtab-form-borderlayout"); layout.setSclass("adtab-form-borderlayout");