Fix the PR review form bug during frontend refactor (#17332)

tokarchuk/v1.17
wxiaoguang 3 years ago committed by GitHub
parent 1a7473ff45
commit 7333104e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_src/js/features/repo-diff.js

@ -21,7 +21,7 @@ export function initRepoDiffFileViewToggle() {
}
export function initRepoDiffConversationForm() {
$('.conversation-holder form').on('submit', async (e) => {
$(document).on('submit', '.conversation-holder form', async (e) => {
e.preventDefault();
const form = $(e.target);
const newConversationHolder = $(await $.post(form.attr('action'), form.serialize()));

Loading…
Cancel
Save