fixes IDEMPIERE-13 Workflows not appearing

http://jira.idempiere.com/browse/IDEMPIERE-13
This commit is contained in:
Carlos Ruiz 2011-08-04 22:22:54 -05:00
parent f9fd4b80c5
commit e1a2db87e1
2 changed files with 2 additions and 4 deletions

View File

@ -318,9 +318,7 @@ public class WFPanel extends CPanel
centerPanel.removeAll();
centerPanel.setReadWrite(readWrite);
centerPanel.getGraphScene().addObjectSceneListener(this, ObjectSceneEventType.OBJECT_SELECTION_CHANGED);
if (readWrite)
centerPanel.setWorkflow(m_wf);
centerPanel.setWorkflow(m_wf);
// Add Nodes
MWFNode[] nodes = m_wf.getNodes(true, AD_Client_ID);

View File

@ -108,7 +108,7 @@ public class WFPanel extends Borderlayout implements EventListener
center.appendChild(table);
contentPanel.setStyle("width: 100%; heigh: 100%;");
center.setAutoscroll(true);
center.setFlex(true);
center.setFlex(false);
South south = new South();
this.appendChild(south);