aboutsummaryrefslogtreecommitdiff
path: root/app/static/package_create.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/static/package_create.js')
-rw-r--r--app/static/package_create.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/static/package_create.js b/app/static/package_create.js
index 25cdd3e..89b21bc 100644
--- a/app/static/package_create.js
+++ b/app/static/package_create.js
@@ -68,7 +68,8 @@ $(function() {
performTask("/tasks/getmeta/new/?url=" + encodeURI(repoURL)).then(function(result) {
console.log(result)
- $("#name").val(result.name)
+ $("#name").val(result.name || "")
+ $("#title").val(result.title || "")
const desc = result.description || ""
if (desc.length > 0) {
const idx = desc.indexOf(".")