diff --git a/app/public/static/package_create.js b/app/public/static/package_create.js index 8d81206..36d1853 100644 --- a/app/public/static/package_create.js +++ b/app/public/static/package_create.js @@ -49,6 +49,11 @@ $(function() { if (result.forumId) { $("#forums").val(result.forumId) } + + if (result.type && result.type.length > 2) { + $("#type").val(result.type); + } + finish() }).catch(function(e) { alert(e)