From b1f91d432c5f44792d7a8981fc1d314a485d3d8a Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sat, 7 May 2022 20:10:10 -0500 Subject: [PATCH] Make upload zip save form --- templates/problem/data.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/problem/data.html b/templates/problem/data.html index 5f28808..ce0eb9b 100644 --- a/templates/problem/data.html +++ b/templates/problem/data.html @@ -32,7 +32,9 @@ if (!responseJSON.success) { alert('Fail to upload: ' + responseJSON.error); } - else window.location.reload(); + else { + $('#submit-button').click(); + } });; function update_select2() {