0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 03:18:25 +01:00
gitea/templates/repo/diff
Harshit Bansal 2c7661a524 Fix wrong text getting saved on editing second comment on an issue. (#5608)
* comments: Fix an incorrent DOM element selection.

This commit fixes a bug that was causing text from previously edited
comment to get saved when two comments were edited one after other.
Text area with id of `#content` isn't unique on the page but it was
being treated as unique by the event handling code.

Fixes: #5581.

* templates: Remove `id` from textarea in commit edit form.

An element is assigned an `id` only if it is unique for the whole page
but in this case there can be multiple textarea so it should have one.
2018-12-31 13:01:20 +01:00
..
box.tmpl Fix wrong text getting saved on editing second comment on an issue. (#5608) 2018-12-31 13:01:20 +01:00
comment_form_datahandler.tmpl
comment_form.tmpl Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
comments.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
new_comment.tmpl
new_review.tmpl
page.tmpl Fix emojis not showing in commit messages (#5168) 2018-10-29 17:00:34 -04:00
section_unified.tmpl Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
whitespace_dropdown.tmpl