From b8e5a1c3a8420b9aedcde9e4acd6ad5d9d76c7a2 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 29 Aug 2022 19:08:13 +0800 Subject: [PATCH] Fix the quick-submit for pending review comment --- templates/repo/diff/comment_form.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl index b3b211bdb3fbf..9325c754cedb6 100644 --- a/templates/repo/diff/comment_form.tmpl +++ b/templates/repo/diff/comment_form.tmpl @@ -29,6 +29,8 @@ {{else}} {{if $.root.CurrentReview}} + {{/* if there is only one "Add comment" button, the quick-submit should submit the form with is_review=true even if the "Add comment" button is not really clicked */}} + {{else}}