From 44b65c5eb5aab45d0fff60c969435b910eb33ec3 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 28 May 2012 15:59:46 +0800 Subject: [PATCH] IDEMPIERE-13 Workflows not appearing --- migration/360lts-release/oracle/843-IDEMPIERE-13.sql | 10 ++++++++++ .../360lts-release/postgresql/843-IDEMPIERE-13.sql | 10 ++++++++++ .../src/org/adempiere/webui/apps/wf/WFPanel.java | 7 +++++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 migration/360lts-release/oracle/843-IDEMPIERE-13.sql create mode 100644 migration/360lts-release/postgresql/843-IDEMPIERE-13.sql diff --git a/migration/360lts-release/oracle/843-IDEMPIERE-13.sql b/migration/360lts-release/oracle/843-IDEMPIERE-13.sql new file mode 100644 index 0000000000..141b27a2b3 --- /dev/null +++ b/migration/360lts-release/oracle/843-IDEMPIERE-13.sql @@ -0,0 +1,10 @@ +-- May 28, 2012 3:21:04 PM MYT +-- IDEMPIERE-13 Workflows not appearing +UPDATE AD_WF_Node Set XPosition=0, YPosition=0; + +UPDATE AD_System + SET LastMigrationScriptApplied='843_IDEMPIERE-13.sql' +WHERE LastMigrationScriptApplied<'843_IDEMPIERE-13.sql' + OR LastMigrationScriptApplied IS NULL +; + diff --git a/migration/360lts-release/postgresql/843-IDEMPIERE-13.sql b/migration/360lts-release/postgresql/843-IDEMPIERE-13.sql new file mode 100644 index 0000000000..141b27a2b3 --- /dev/null +++ b/migration/360lts-release/postgresql/843-IDEMPIERE-13.sql @@ -0,0 +1,10 @@ +-- May 28, 2012 3:21:04 PM MYT +-- IDEMPIERE-13 Workflows not appearing +UPDATE AD_WF_Node Set XPosition=0, YPosition=0; + +UPDATE AD_System + SET LastMigrationScriptApplied='843_IDEMPIERE-13.sql' +WHERE LastMigrationScriptApplied<'843_IDEMPIERE-13.sql' + OR LastMigrationScriptApplied IS NULL +; + diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java index 8ed0ed7f98..c37c79e093 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java @@ -112,8 +112,11 @@ public class WFPanel extends Borderlayout implements EventListener South south = new South(); this.appendChild(south); - south.appendChild(infoTextPane); - south.setHeight("15%"); + Div div = new Div(); + div.setStyle("width:100%; height: 100%"); + div.appendChild(infoTextPane); + south.appendChild(div); + south.setHeight("25%"); south.setSplittable(true); south.setCollapsible(true); south.setAutoscroll(true);