DependencyCheck icon indicating copy to clipboard operation
DependencyCheck copied to clipboard

Update htmlReport.vsl

Open mysmlz opened this issue 2 years ago • 1 comments

Fixes Issue

After the page is rendered, a wrong class on "Published Vulnerabilities" causes inconsistency with the click effect.

Description of Change

Update htmlReport.vsl

  • before fixed: image

  • fixed: image

Have test cases been added to cover the new functionality?

yes

mysmlz avatar Jul 25 '22 03:07 mysmlz

Thanks @mysmlz - however, this change is not complete - as you cannot collapse the Published Vulnerabilities section after the update. This is because line 40 needs to be updated from:

$(".expandable").click(function (event) {

To:

$(".expandable, .collapsed").click(function (event) {

Any chance you can add the update to this PR?

Thank you!

jeremylong avatar Jul 26 '22 10:07 jeremylong