Skip to content

Commit

Permalink
[TestRun] Fix row reload on add_comment
Browse files Browse the repository at this point in the history
  • Loading branch information
somenewacc authored and atodorov committed Nov 28, 2023
1 parent ed3018f commit 4f3608b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tcms/testruns/static/testruns/js/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ export function pageTestrunsGetReadyHandler () {

selected.executionIds.forEach(executionId => {
jsonRPC('TestExecution.add_comment', [executionId, comment], () => {
const testExecutionRow = $(`.test-execution-${executionId}`)
animate(testExecutionRow, () => {
expandedExecutionIds.splice(expandedExecutionIds.indexOf(executionId), 1)
})
reloadRowFor(allExecutions[executionId])
})
})

Expand Down

0 comments on commit 4f3608b

Please sign in to comment.