fix: system_all_log.html ReferenceError and other updates

This commit is contained in:
2026-01-17 14:06:27 +09:00
parent cf19d79ef8
commit 2681f5a096
24 changed files with 820 additions and 141 deletions

View File

@@ -132,14 +132,15 @@ def default_route(P):
@P.blueprint.route('/ajax/<module_name>/<cmd>', methods=['GET', 'POST'])
@login_required
def second_ajax(module_name, cmd):
# P.logger.debug(f"[CORE-DEBUG] second_ajax: package={P.package_name}, module={module_name}, cmd={cmd}")
try:
for module in P.module_list:
if cmd == 'scheduler':
go = request.form['scheduler']
if go == 'true':
P.logic.scheduler_start(module_name)
P.logic.scheduler_start(module_name)
else:
P.logic.scheduler_stop(module_name)
P.logic.scheduler_stop(module_name)
return jsonify(go)
elif cmd == 'db_delete':
day = request.form['day']