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