From 994891c3761f23dcdae25b31dd003a47ab9f47be Mon Sep 17 00:00:00 2001 From: Nagesh Naik <72155222+Naik-G@users.noreply.github.com> Date: Fri, 24 May 2024 14:17:54 +0530 Subject: [PATCH] Added onsubmit in cancel form A confirmation dialog was added to the cancel button to prevent immediate cancellation, as the cancel button is located right after the log, which could lead to unintended cancellations by the user. --- scrapyd/website.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapyd/website.py b/scrapyd/website.py index 9442fc8a..cfcc557a 100644 --- a/scrapyd/website.py +++ b/scrapyd/website.py @@ -132,7 +132,7 @@ def __init__(self, root, local_items): self.prefix_header = root.prefix_header cancel_button = """ -
+