|
|
|
@ -155,7 +155,7 @@ staticAnalysisView.prototype.checkModule = function (event) { |
|
|
|
|
} |
|
|
|
|
staticAnalysisView.prototype.correctRunBtnDisabled = function () { |
|
|
|
|
const selected = this.view.querySelectorAll('[name="staticanalysismodule"]:checked') |
|
|
|
|
if (this.lastCompilationResult && selected.length != 0) { |
|
|
|
|
if (this.lastCompilationResult && selected.length !== 0) { |
|
|
|
|
this.runBtn.removeAttribute('disabled') |
|
|
|
|
} else { |
|
|
|
|
this.runBtn.setAttribute('disabled', 'disabled') |
|
|
|
@ -185,7 +185,7 @@ staticAnalysisView.prototype.renderModules = function () { |
|
|
|
|
index=${item._index} |
|
|
|
|
checked="true" |
|
|
|
|
style="vertical-align:bottom" |
|
|
|
|
onclick="${(event) => this.checkModule(event) }" |
|
|
|
|
onclick="${(event) => this.checkModule(event)}" |
|
|
|
|
> |
|
|
|
|
<label for="staticanalysismodule_${categoryId}_${i}" class="form-check-label mb-1"> |
|
|
|
|
<p class="mb-0 font-weight-bold text-capitalize">${item.name}</p> |
|
|
|
@ -206,7 +206,7 @@ staticAnalysisView.prototype.renderModules = function () { |
|
|
|
|
</> |
|
|
|
|
` |
|
|
|
|
}) |
|
|
|
|
return yo` |
|
|
|
|
return yo` |
|
|
|
|
<div class="accordion" id="accordionModules"> |
|
|
|
|
${moduleEntries} |
|
|
|
|
</div>` |
|
|
|
|