diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-01 13:50:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 13:50:40 +0800 |
commit | 9a30b2eafac10f68ee374c9b2ee4b020e33b170e (patch) | |
tree | 35007a7080104805ae5a40a6d522787c2e39886d /templates/repo/diff/comment_form.tmpl | |
parent | e2165854a6c40a4ce95b81911d06e311217ba028 (diff) | |
download | gitea-9a30b2eafac10f68ee374c9b2ee4b020e33b170e.tar.gz gitea-9a30b2eafac10f68ee374c9b2ee4b020e33b170e.zip |
Fix review conversation reply (#23846)
Regression of #23245
Close #23843
Diffstat (limited to 'templates/repo/diff/comment_form.tmpl')
-rw-r--r-- | templates/repo/diff/comment_form.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl index 507e4828a7..394a392bb9 100644 --- a/templates/repo/diff/comment_form.tmpl +++ b/templates/repo/diff/comment_form.tmpl @@ -27,6 +27,7 @@ {{if $.reply}} <button class="ui submit green tiny button btn-reply" type="submit">{{$.root.locale.Tr "repo.diff.comment.reply"}}</button> <input type="hidden" name="reply" value="{{$.reply}}"> + <input type="hidden" name="single_review" value="true"> {{else}} {{if $.root.CurrentReview}} <button name="pending_review" type="submit" class="ui submit green tiny button btn-add-comment">{{$.root.locale.Tr "repo.diff.comment.add_review_comment"}}</button> |