|
|
@ -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') |
|
|
|