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() {