|
|
@ -149,11 +149,9 @@ staticAnalysisView.prototype.checkAll = function (event) { |
|
|
|
if (!this.view) { |
|
|
|
if (!this.view) { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
var checkBoxes = this.view.querySelectorAll('[name="staticanalysismodule"]') |
|
|
|
|
|
|
|
var selectionsCount = this.view.querySelectorAll('[name="staticanalysismodule"]:checked').length |
|
|
|
|
|
|
|
// checks/unchecks all
|
|
|
|
// checks/unchecks all
|
|
|
|
checkBoxes.forEach((checkbox) => { checkbox.checked = !selectionsCount }) |
|
|
|
var checkBoxes = this.view.querySelectorAll('[name="staticanalysismodule"]') |
|
|
|
event.target.checked = !selectionsCount |
|
|
|
checkBoxes.forEach((checkbox) => { checkbox.checked = event.target.checked }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
staticAnalysisView.prototype.renderModules = function () { |
|
|
|
staticAnalysisView.prototype.renderModules = function () { |
|
|
|