Skip to content

Commit ce91feb

Browse files
authored
fix: onclick disable submit button (#9878)
1 parent 2ac6106 commit ce91feb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ietf/templates/submit/upload_submission.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
$(document).ready(function() {
7474
if ($("#checkbox").is(':checked'))
7575
$("#other-formats").collapse('show')
76+
77+
$("form").one('submit', function() {
78+
$("button").attr('disabled', 'disabled');
79+
return true;
80+
})
7681
});
7782
</script>
7883
{% endblock %}

0 commit comments

Comments
 (0)