Skip to content

Commit

Permalink
fix the console message showing up in wrong process issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Oct 23, 2024
1 parent 174e940 commit 616e3f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/static/js/gw.process.js
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,10 @@ GW.process = {
},

displayOutput: function (msg) {

// make sure the current history id is updated
GW.process.history_id = msg.hid

var output = GW.general.escapeCodeforHTML(msg.output);

if (msg.output == "logfile") {
Expand Down Expand Up @@ -1310,6 +1314,8 @@ GW.process = {

GW.ssh.process_output_id = "process-log-window";

GW.process.history_id = null;

msg = GW.general.parseResponse(msg);

code_type = msg.lang == null ? msg.description : msg.lang;
Expand Down

0 comments on commit 616e3f2

Please sign in to comment.