Fix traceback when editing schedule

This commit is contained in:
amcmanu3 2022-08-05 16:01:26 -04:00
parent 75c8cdef53
commit 3c8614f378
2 changed files with 2 additions and 1 deletions

View File

@ -901,6 +901,7 @@ class PanelHandler(BaseHandler):
page_data["new_schedule"] = True
page_data["schedule"] = {}
page_data["schedule"]["children"] = []
page_data["schedule"]["name"] = ""
page_data["schedule"]["server_id"] = server_id
page_data["schedule"]["schedule_id"] = ""
page_data["schedule"]["action"] = ""

View File

@ -433,7 +433,7 @@
"no": "No",
"cron": "Crong String",
"details": "Schedule Details",
"child": "Child of schedule named ",
"child": "Child of schedule with ID ",
"areYouSure": "Delete Scheduled Task?",
"close": "Close",
"delete": "Delete",