1
1
mirror of https://github.com/go-gitea/gitea synced 2024-10-31 23:34:25 +00:00
gitea/routers/routes
Jimmy Praet bcb7f35221
Do not reload page after adding comments in Pull Request reviews (#13877)
Fixed #8861 
* use ajax on PR review page

* handle review comments

* extract duplicate code

FetchCodeCommentsByLine was initially more or less copied from fetchCodeCommentsByReview. Now they both use a common findCodeComments function instead

* use the Engine that was passed into the method

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-01-08 23:49:55 +02:00
..
chi.go Fix session bug when introduce chi (#14287) 2021-01-08 14:15:06 +02:00
macaron.go Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
recovery.go Fix session bug when introduce chi (#14287) 2021-01-08 14:15:06 +02:00