diff --git a/beat/web/algorithms/templates/algorithms/edition.html b/beat/web/algorithms/templates/algorithms/edition.html index a64bdac14c474bedfda37ee99b0eb1c9e600ab8b..73667155ed846d514853715fddb0a533d598d75d 100644 --- a/beat/web/algorithms/templates/algorithms/edition.html +++ b/beat/web/algorithms/templates/algorithms/edition.html @@ -331,6 +331,7 @@ function setupEditor(algorithm, dataformats, libraries) {% if not edition %} {% if algorithm_version > 1 and not fork_of %} name: '{{ algorithm_name }}', + version: '{{ algorithm_version }}', previous_version:'{{ algorithm_author }}/{{ algorithm_name }}/{{ algorithm_version|add:-1 }}', {% else %} name: $('#algorithm_name')[0].value.trim(),