Skip to content

Commit

Permalink
Fix JavaScript functions after latest changes
Browse files Browse the repository at this point in the history
not sure when/where the relevant changes were introduced but
expanding a TestExecution was broken so fix it.
  • Loading branch information
atodorov committed Feb 10, 2020
1 parent 1195ef4 commit 761d534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tcms/static/js/testrun_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Nitrate.TestRuns.Details.on_load = function() {
var c = jQ(this).parent(); // Container
var c_container = c.next(); // Content Containers
var caseId = c.find('input[name="case"]')[0].value;
var executionId = c.find('input[name="case_run"]')[0].value;
var executionId = c.find('input[name="execution"]')[0].value;
var caseTextVersion = c.find('input[name="case_text_version"]')[0].value;
var callback = function(t) {
// Observe the update case run stauts/comment form
Expand Down Expand Up @@ -120,7 +120,7 @@ Nitrate.TestRuns.Details.on_load = function() {
toggleTestExecutionPane({
'callback': callback,
'caseId': caseId,
'caserunId': executionId,
'executionId': executionId,
'caseTextVersion': caseTextVersion,
'caserunRowContainer': c,
'expandPaneContainer': c_container
Expand Down

0 comments on commit 761d534

Please sign in to comment.