diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 7fab733..ca65c06 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -385,6 +385,7 @@ function try_async_comment(form) { $(form).off('submit'); form.submit(); }) + $(form).find('input[type="submit"]').removeAttr("disabled"); return false; }; {% endif %} diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index a043d3f..8a33669 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -807,6 +807,7 @@ function try_async_comment(form, inline) { form.submit(); }) $(form).on('submit'); + $(form).find('input[type="submit"]').removeAttr("disabled"); return false; }; {% endif %}