Skip to content

Commit

Permalink
Improved navigation between execution and script page (small fix).
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Mar 29, 2024
1 parent 86d4c9a commit 8c98032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/src/main/webapp/js/pages/TestCaseExecution.js
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,8 @@ Step.prototype.show = function (a) {
stepFocus = object.step + "-" + object.index;
window.history.pushState({}, '', url);
$("#editTcStepInfo").parent().attr("href", "./TestCaseScript.jsp?test=" + encodeURI(object.test) + "&testcase=" + encodeURI(object.testcase) + '#stepId=' + object.step);
} else if (stepFocus != 99999) {
$("#editTcStepInfo").parent().attr("href", "./TestCaseScript.jsp?test=" + encodeURI(object.test) + "&testcase=" + encodeURI(object.testcase) + '#stepId=' + object.step);
}

for (var i = 0; i < object.steps.length; i++) {
Expand Down

0 comments on commit 8c98032

Please sign in to comment.