Commit c6898f1d authored by lianahus's avatar lianahus Committed by Liana Husikyan

check for view in SA plugin`

parent 77fbd184
......@@ -211,6 +211,9 @@ staticAnalysisView.prototype.checkModule = function (event) {
}
}
staticAnalysisView.prototype.correctRunBtnDisabled = function () {
if (!this.view) {
return
}
const selected = this.view.querySelectorAll('[name="staticanalysismodule"]:checked')
if (this.lastCompilationResult && selected.length !== 0) {
this.runBtn.removeAttribute('disabled')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment