diff --git a/beat/web/algorithms/templates/algorithms/edition.html b/beat/web/algorithms/templates/algorithms/edition.html index 59c0a1759f49c7ad8c2283baa51af17751e56552..a64bdac14c474bedfda37ee99b0eb1c9e600ab8b 100644 --- a/beat/web/algorithms/templates/algorithms/edition.html +++ b/beat/web/algorithms/templates/algorithms/edition.html @@ -222,8 +222,9 @@ function setupEditor(algorithm, dataformats, libraries) } {% if not binary %} + var algorithm_type = type_sequential_selector[0].checked ? beat.contributions.editor.SEQUENTIAL : beat.contributions.editor.AUTONOMOUS source_code_editor.changeProcessMethod(checkbox_analyzer[0].checked, - type_sequential_selector[0].checked); + algorithm_type); {% endif %} inputs_editor.setAnalyzer(checkbox_analyzer[0].checked); });