diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-06-05 19:51:01 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-06-05 19:51:01 +0100 |
commit | 700cd7ce1f0e06ab23f266f5ab973a17e71de8ee (patch) | |
tree | df6492ed484bae084560f32b47611b35d7d871c4 | |
parent | 8d9da5a75034bc9af48a90294f5bec2776829a0f (diff) | |
download | cheatdb-700cd7ce1f0e06ab23f266f5ab973a17e71de8ee.tar.xz |
Add game detection
-rw-r--r-- | app/public/static/package_create.js | 5 |
1 files changed, 5 insertions, 0 deletions
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) |