Skip to content

Commit

Permalink
small bugfix relating to status text update when cancelling
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wicenec committed May 20, 2021
1 parent c091ecb commit f868aa8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions daliuge-engine/dlg/manager/web/static/js/dm.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,13 +527,11 @@ function cancel_session(serverUrl, sessionId, cancelSessionBtn) {

cancelSessionBtn.attr('disabled', null);
});

d3.select('#session-status').text("Cancelled");
setStatusColor("Cancelled");
} else {
// display an error
bootbox.alert("Can't cancel " + sessionId + " unless it is RUNNING.");
}
})

d3.select('#session-status').text("Cancelled");
setStatusColor("Cancelled");
}

0 comments on commit f868aa8

Please sign in to comment.