diff --git a/app/frontend/templates/panel/server_schedule_edit.html b/app/frontend/templates/panel/server_schedule_edit.html index ff38e377..8eda7c78 100644 --- a/app/frontend/templates/panel/server_schedule_edit.html +++ b/app/frontend/templates/panel/server_schedule_edit.html @@ -141,10 +141,10 @@ function yesnoCheck() { if (document.getElementById('action').value == "command") { document.getElementById("ifYes").style.display = "block"; - document.getElementById("command").required = true; + document.getElementById("command_input").required = true; } else { document.getElementById("ifYes").style.display = "none"; - document.getElementById("command").required = false; + document.getElementById("command_input").required = false; } } function basicAdvanced() {