diff --git a/app/public/static/release_minmax.js b/app/public/static/release_minmax.js index d77c07cb..d80a221f 100644 --- a/app/public/static/release_minmax.js +++ b/app/public/static/release_minmax.js @@ -3,12 +3,12 @@ const min = $("#min_rel"); const max = $("#max_rel"); -const none = $("#min_rel option:first-child").attr("value"); +const none = parseInt($("#min_rel option:first-child").attr("value")); const warning = $("#minmax_warning"); function ver_check() { - const minv = min.val(); - const maxv = max.val(); + const minv = parseInt(min.val()); + const maxv = parseInt(max.val()); if (minv != none && maxv != none && minv > maxv) { warning.show(); diff --git a/app/templates/packages/release_bulk_change.html b/app/templates/packages/release_bulk_change.html index 4ed38e2b..b3d10379 100644 --- a/app/templates/packages/release_bulk_change.html +++ b/app/templates/packages/release_bulk_change.html @@ -41,7 +41,7 @@ {% endblock %} {% block scriptextra %} - + + {% endblock %} diff --git a/app/templates/packages/release_new.html b/app/templates/packages/release_new.html index 2e1c819f..aee4d20e 100644 --- a/app/templates/packages/release_new.html +++ b/app/templates/packages/release_new.html @@ -90,7 +90,7 @@ {% endblock %} {% block scriptextra %} - +