diff --git a/game_manager_frame.php b/game_manager_frame.php index c56b381..69b991a 100644 --- a/game_manager_frame.php +++ b/game_manager_frame.php @@ -47,12 +47,14 @@ if (!get_autologin_state() || (($user_data["privilege"] !== PRIVILEGE_CREATOR) & Név:
Leírás:
Tulajdonos:
- Szerkesztők:
- Kérdés-fájl: - - -
- Csoportok:
+
+ Szerkesztők:
+ Kérdés-fájl: + + +
+ Csoportok:
+
diff --git a/js/gamemgr.js b/js/gamemgr.js index 8ac1e18..aa0d03a 100644 --- a/js/gamemgr.js +++ b/js/gamemgr.js @@ -56,6 +56,9 @@ function create_edit_game(game = null) { ownerF.readOnly = true; contributorsF.value = ""; groupF.value = ""; + + // hide additional controls + hide("additional_controls"); } else { // editing an existing one nameF.value = game["name"]; descriptionF.value = game["description"]; @@ -64,6 +67,9 @@ function create_edit_game(game = null) { ownerF.readOnly = false; contributorsF.value = game["contributors"].join(", "); groupF.value = game["groups"].join(", "); + + // show additional controls + show("additional_controls"); } gameFileF.value = "";