From 46bddd69c6e55c53ebf89576bf3c21079005a8ea Mon Sep 17 00:00:00 2001 From: Vishesh Saluja Date: Wed, 23 Oct 2024 01:44:24 -0400 Subject: [PATCH] fixed for workflow --- src/main/resources/static/js/gw.process.sidepanel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/static/js/gw.process.sidepanel.js b/src/main/resources/static/js/gw.process.sidepanel.js index 515cc8aa..34904094 100644 --- a/src/main/resources/static/js/gw.process.sidepanel.js +++ b/src/main/resources/static/js/gw.process.sidepanel.js @@ -124,6 +124,8 @@ GW.process.sidepanel = { displayOutput: function (msg) { var output = GW.general.escapeCodeforHTML(msg.output); + GW.process.history_id = msg.hid; + if (msg.output == "logfile") { output = '
' + @@ -249,6 +251,8 @@ GW.process.sidepanel = { // do not stop ability to add process when we open side panel // GW.workspace.currentmode = 2; + GW.process.history_id = null; + GW.ssh.process_output_id = "prompt-panel-process-log-window"; let code = msg.code;