replace / with _ in trId (#15256)
Fixes jquery error when clicking to collapse/expand a panel
This commit is contained in:
parent
244760197c
commit
3172ca5475
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ import "testamenthtml.nimf"
|
||||||
proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) =
|
proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) =
|
||||||
let
|
let
|
||||||
trId = htmlQuote(testResultRow["category"].str & "_" & testResultRow["name"].str).
|
trId = htmlQuote(testResultRow["category"].str & "_" & testResultRow["name"].str).
|
||||||
multiReplace({".": "_", " ": "_", ":": "_"})
|
multiReplace({".": "_", " ": "_", ":": "_", "/": "_"})
|
||||||
name = testResultRow["name"].str.htmlQuote()
|
name = testResultRow["name"].str.htmlQuote()
|
||||||
category = testResultRow["category"].str.htmlQuote()
|
category = testResultRow["category"].str.htmlQuote()
|
||||||
target = testResultRow["target"].str.htmlQuote()
|
target = testResultRow["target"].str.htmlQuote()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue