Fix the quick-submit for pending review comment (#20992)
Fix the quick-submit for pending review comment (#20992)

If there is only one "Add comment" button (when there are pending review comments), the quick-submit should submit the form with is_review=true even if the "Add comment" button is not really clicked.

Close  #20990

go-gitea/gitea,go-gitea/gitea,go-gitea/gitea