Fix schedule custom commands

This commit is contained in:
Andrew 2023-05-27 13:57:26 -04:00
parent 993ba24b6b
commit 8aeea1bd49

View File

@ -273,7 +273,7 @@
if ($("#difficulty").val() == "reaction"){ if ($("#difficulty").val() == "reaction"){
formDataObject.interval_type = "reaction"; formDataObject.interval_type = "reaction";
} }
if ($("action").val() != "command"){ if ($("#action").val() != "command"){
formDataObject.command = formDataObject.action + "_server"; formDataObject.command = formDataObject.action + "_server";
} }
if (formDataObject.cron_string != ""){ if (formDataObject.cron_string != ""){