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;