Fix bug in package_create.js

This commit is contained in:
rubenwardy
2018-12-29 18:41:09 +00:00
parent 2975f94d9e
commit ec0e89c21d
2 changed files with 9 additions and 8 deletions

View File

@@ -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");