diff --git a/app/public/static/package_create.js b/app/public/static/package_create.js index 0dc363e0..a115b14f 100644 --- a/app/public/static/package_create.js +++ b/app/public/static/package_create.js @@ -21,7 +21,7 @@ $(function() { $(".pkg_repo").hide() function setField(id, value) { - if (value != "") { + if (value && value != "") { var ele = $(id); ele.val(value); ele.trigger("change"); diff --git a/app/templates/packages/create_edit.html b/app/templates/packages/create_edit.html index e6fe4001..4323d61b 100644 --- a/app/templates/packages/create_edit.html +++ b/app/templates/packages/create_edit.html @@ -14,13 +14,7 @@ {% if enable_wizard %} - - - - - Javascript is needed to automatically import metadata from VCS. - - + {% endif %} {% endblock %} @@ -34,6 +28,13 @@ Have you read the Package Inclusion Policy and Guidance yet? + + + Javascript is needed to improve the user interface, and is needed for features + such as finding metadata from git, and autocompletion. + Whilst disabled Javascript may work, it is not officially supported. + + {{ package_lists() }}