mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-15 18:08:23 -07:00
fd15fd4c67
The CompareAndPullRequestPost handler for POST to /compare incorrectly handles returning errors to the user. For a start it does not set the necessary markers to switch SimpleMDE but it also does not immediately return to the form. This PR fixes this by setting the appropriate values, fixing the templates and preventing the suggestion of a too long title. Fix #16507 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
blob_excerpt.tmpl | ||
box.tmpl | ||
comment_form_datahandler.tmpl | ||
comment_form.tmpl | ||
comments.tmpl | ||
compare.tmpl | ||
conversation.tmpl | ||
csv_diff.tmpl | ||
image_diff.tmpl | ||
new_comment.tmpl | ||
new_review.tmpl | ||
options_dropdown.tmpl | ||
section_split.tmpl | ||
section_unified.tmpl | ||
stats.tmpl | ||
whitespace_dropdown.tmpl |