From dc50ece192e9194a49c3abf1a4c8a514a23f6609 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Thu, 4 Mar 2010 08:33:28 +0000 Subject: [PATCH] When user press the print button on the toolbar, the current window no is not pass to the print dialog causing report parameter failed to get default value from current window context. Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2963196 --- .../src/org/adempiere/webui/panel/AbstractADWindowPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java index 1b5df09657..ffbdc3533c 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java @@ -1643,7 +1643,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To if (!getComponent().getDesktop().isServerPushEnabled()) getComponent().getDesktop().enableServerPush(true); - ProcessModalDialog dialog = new ProcessModalDialog(this,0, + ProcessModalDialog dialog = new ProcessModalDialog(this,getWindowNo(), AD_Process_ID,table_ID, record_ID, true); if (dialog.isValid()) { dialog.setPosition("center");